ExtendedProperties コレクション内の指定されたインデックス位置にある ExtendedProperty オブジェクトを取得します。
名前空間 : Microsoft.Ink
アセンブリ : Microsoft.Ink (Microsoft.Ink.dll 内)
構文
'宣言
Public ReadOnly Property Item ( _
id As Guid _
) As ExtendedProperty
'使用
Dim instance As ExtendedProperties
Dim id As Guid
Dim value As ExtendedProperty
value = instance.Item(id)
public ExtendedProperty Item[
Guid id
] { get; }
public:
property ExtendedProperty^ Item[Guid id] {
ExtendedProperty^ get (Guid id);
}
/** @property */
public ExtendedProperty get_Item(
Guid id
)
JScript では、インデックス付きプロパティはサポートされません。
パラメータ
- id
型 : System.Guid
取得する ExtendedProperty オブジェクトの、0 から始まるインデックス。
プロパティ値
型 : Microsoft.Ink.ExtendedProperty
ExtendedProperties コレクション内の指定されたインデックス位置にある ExtendedProperty オブジェクト。
解説
インデックスが ExtendedProperties コレクションの既存のメンバと一致しない場合は ArgumentOutOfRangeException がスローされます。
![]() |
---|
C# では、コレクションの Item プロパティを使用する代わりに、コレクションのインデクサを使用します。 |
例
この例では、Guid epGuid を使用して、Stroke オブジェクトの ExtendedProperties コレクションから ExtendedProperty オブジェクトを取得します。
Dim exProp As ExtendedProperty = stroke.ExtendedProperties.Item(epGuid)
' another way to access the item
Dim exPropSame As ExtendedProperty = stroke.ExtendedProperties(epGuid)
ExtendedProperty exProp = stroke.ExtendedProperties[epGuid];
プラットフォーム
Windows Vista
.NET Framework および .NET Compact Framework では、各プラットフォームのすべてのバージョンはサポートしていません。サポートされているバージョンについては、「.NET Framework システム要件」を参照してください。
バージョン情報
.NET Framework
サポート対象 : 3.0