ContextNodeBaseCollection 内の指定したインデックスにある ContextNodeBase オブジェクトを取得します。
名前空間 : System.Windows.Ink.AnalysisCore
アセンブリ : IACore (IACore.dll 内)
構文
'宣言
Public ReadOnly Property Item ( _
index As Integer _
) As ContextNodeBase
'使用
Dim instance As ContextNodeBaseCollection
Dim index As Integer
Dim value As ContextNodeBase
value = instance.Item(index)
public ContextNodeBase Item[
int index
] { get; }
public:
property ContextNodeBase^ Item[int index] {
ContextNodeBase^ get (int index);
}
/** @property */
public ContextNodeBase get_Item(
int index
)
JScript では、インデックス付きプロパティはサポートされません。
パラメータ
- index
型 : System.Int32
取得する ContextNodeBase オブジェクトの、0 から始まるインデックス。
プロパティ値
型 : System.Windows.Ink.AnalysisCore.ContextNodeBase
ContextNodeBaseCollection 内の指定したインデックスにある ContextNodeBase オブジェクト。
解説
次の例に示すように、コレクションのインデクサを使用することにより、Item プロパティへのアクセスを取得します。
インデックスが ContextNodeBaseCollection の既存のメンバと一致しない場合は、ArgumentOutOfRangeException がスローされます。
例
次の例では、ContextNodeBaseCollection、nodes 内の最初のノードを取得します。
Dim firstNode As ContextNodeBase = nodes(0)
ContextNodeBase firstNode = nodes[0];
プラットフォーム
Windows Vista, Windows XP SP2, Windows Server 2003
.NET Framework および .NET Compact Framework では、各プラットフォームのすべてのバージョンはサポートしていません。サポートされているバージョンについては、「.NET Framework システム要件」を参照してください。
バージョン情報
.NET Framework
サポート対象 : 3.0