RecognitionAlternates.Item Property
Gets the RecognitionAlternate object at the specified index within the RecognitionAlternates collection.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in Microsoft.Ink.dll)
Syntax
'Declaration
Public ReadOnly Property Item ( _
index As Integer _
) As RecognitionAlternate
'Usage
Dim instance As RecognitionAlternates
Dim index As Integer
Dim value As RecognitionAlternate
value = instance.Item(index)
public RecognitionAlternate this[
int index
] { get; }
public:
property RecognitionAlternate^ Item[int index] {
RecognitionAlternate^ get (int index);
}
JScript does not support indexed properties.
Parameters
index
Type: System.Int32The zero-based index of the RecognitionAlternate object to get.
Property Value
Type: Microsoft.Ink.RecognitionAlternate
The RecognitionAlternate object at the specified index within the RecognitionAlternates collection.
Remarks
An ArgumentOutOfRangeException is thrown if the index does not match an existing member of the RecognitionAlternates collection.
Note
In C#, use the collection's indexer as shown in the following example, instead of using the collection's Item property.
Examples
This C# example gets the first RecognitionAlternate object from the RecognitionAlternates collection, theRecognitionAlternates.
[C#]
Microsoft.Ink.RecognitionAlternate theFirstAlternate = theRecognitionAlternates[0];
This Microsoft® Visual Basic® .NET example gets the first RecognitionAlternate object from the RecognitionAlternates collection, theRecognitionAlternates.
[Visual Basic]
Dim theFirstAlternate As Microsoft.Ink.RecognitionAlternate = theRecognitionAlternates.Item(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