ContextLinkCollection.Item Property
Gets the ContextLink object at the specified index within the ContextLinkCollection.
Namespace: System.Windows.Ink
Assembly: IAWinFX (in IAWinFX.dll)
Syntax
'Declaration
Public ReadOnly Property Item ( _
index As Integer _
) As ContextLink
'Usage
Dim instance As ContextLinkCollection
Dim index As Integer
Dim value As ContextLink
value = instance.Item(index)
public ContextLink this[
int index
] { get; }
public:
property ContextLink^ Item[int index] {
ContextLink^ get (int index);
}
JScript does not support indexed properties.
Parameters
index
Type: System.Int32The zero-based index of the ContextLink object.
Property Value
Type: System.Windows.Ink.ContextLink
The ContextLink object at the specified index within the ContextLinkCollection.
Remarks
You can access the Item property by using the collection's indexer as shown in this topic's example.
An [ArgumentOutOfRangeException] is thrown if the index does not match an existing member of the ContextLinkCollection collection.
Examples
The following example gets the first node in a ContextLinkCollection, links.
Dim firstLink As ContextLink = links(0)
ContextLink 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