AnalysisAlternateCollection.Item Property
Gets the AnalysisAlternate object with the specified index within the AnalysisAlternateCollection.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink.Analysis (in Microsoft.Ink.Analysis.dll)
Syntax
'Declaration
Public ReadOnly Property Item ( _
index As Integer _
) As AnalysisAlternate
'Usage
Dim instance As AnalysisAlternateCollection
Dim index As Integer
Dim value As AnalysisAlternate
value = instance.Item(index)
public AnalysisAlternate this[
int index
] { get; }
public:
property AnalysisAlternate^ Item[int index] {
AnalysisAlternate^ get (int index);
}
JScript does not support indexed properties.
Parameters
index
Type: System.Int32The zero-based index of the AnalysisAlternate object to get.
Property Value
Type: Microsoft.Ink.AnalysisAlternate
The AnalysisAlternate object with the specified index within the AnalysisAlternateCollection.
Remarks
You can access the Item property 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 the AnalysisAlternateCollection.
Examples
This example gets the first node in an AnalysisAlternateCollection, alternates.
Dim firstAlternate As AnalysisAlternate = alternates(0)
AnalysisAlternate firstAlternate = alternates[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
See Also
Reference
AnalysisAlternateCollection Class