ContextNodeCollection.Item Property (Int32)
Gets the ContextNode object at the specified index within the ContextNodeCollection.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink.Analysis (in Microsoft.Ink.Analysis.dll)
Syntax
'Declaration
Public ReadOnly Property Item ( _
index As Integer _
) As ContextNode
'Usage
Dim instance As ContextNodeCollection
Dim index As Integer
Dim value As ContextNode
value = instance.Item(index)
public ContextNode this[
int index
] { get; }
public:
property ContextNode^ Item[int index] {
ContextNode^ get (int index);
}
JScript does not support indexed properties.
Parameters
index
Type: System.Int32The zero-based index of the ContextNode object to get.
Property Value
Type: Microsoft.Ink.ContextNode
The ContextNode object at the specified index within the ContextNodeCollection.
Remarks
You can access the Item property by using the collection's indexer as shown in the following example.
An ArgumentOutOfRangeException exception is thrown if the index does not match an existing member of the ContextNodeCollection collection.
Examples
The following example gets the first node in a ContextNodeCollection, nodes.
Dim firstNode As ContextNode = nodes(0)
ContextNode firstNode = nodes[0];
Platforms
Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 3.0