Share via


ContextLinkBaseCollection.Item Property

Gets the ContextLinkBase object at the specified index or identifier within ContextLinkBaseCollection.

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

Syntax

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

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

Parameters

Property Value

Type: System.Windows.Ink.AnalysisCore.ContextLinkBase
The ContextLinkBase object at the specified index within the ContextLinkBaseCollection.

Remarks

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

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

Examples

The following example gets the first node in a ContextLinkBaseCollection, links.

Dim firstLink As ContextLinkBase = links(0)
ContextLinkBase firstLink = links[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

ContextLinkBaseCollection Class

ContextLinkBaseCollection Members

System.Windows.Ink.AnalysisCore Namespace