Share via


ContextNodeBaseCollection.Item Property (Int32)

Gets the ContextNodeBase object at the specified index within the ContextNodeBaseCollection.

Namespace:  System.Windows.Ink.AnalysisCore
Assembly:  IACore (in IACore.dll)

Syntax

'Declaration
Public ReadOnly Property Item ( _
    index As Integer _
) As ContextNodeBase
'Usage
Dim instance As ContextNodeBaseCollection 
Dim index As Integer 
Dim value As ContextNodeBase 

value = instance.Item(index)
public ContextNodeBase this[
    int index
] { get; }
public:
property ContextNodeBase^ Item[int index] {
    ContextNodeBase^ get (int index);
}
JScript does not support indexed properties.

Parameters

Property Value

Type: System.Windows.Ink.AnalysisCore.ContextNodeBase
The ContextNodeBase object at the specified index within the ContextNodeBaseCollection.

Remarks

You can gain access to the Item property by using the collection's indexer as shown in the following example.

An ArgumentOutOfRangeException is thrown if the index does not match an existing member of ContextNodeBaseCollection.

Examples

The following example gets the first node in a ContextNodeBaseCollection, nodes.

Dim firstNode As ContextNodeBase = nodes(0)
          ContextNodeBase firstNode = nodes[0];

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

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

See Also

Reference

ContextNodeBaseCollection Class

ContextNodeBaseCollection Members

Item Overload

System.Windows.Ink.AnalysisCore Namespace