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