Recognizers.Item Property
Recognizers.Item Property |
Gets the Recognizer object at the specified index within the Recognizers collection.
Definition
Visual Basic .NET Public ReadOnly Property Item As Recognizer C# public Recognizer Item { get; } Managed C++ public: __property Recognizer* get_Item(
int *index);
Property Value
Microsoft.Ink.Recognizer. The Recognizer object at the specified index within the Recognizers collection.
This property is read-only. This property has no default value.
Parameters
index System.Int32. [in] The zero-based index of the Recognizer object to get.
Exceptions
ArgumentOutOfRangeException : Specified identifier was not found
Remarks
An ArgumentOutOfRangeException is thrown if the index does not match an existing member of the Recognizers collection.
Note: In C#, use the collection's indexer as shown in the following example, instead of using the collection's Item property.
Examples
[C#]
This C# example gets the first Recognizer object from the Recognizers collection, theRecognizers.
Microsoft.Ink.Recognizer theFirstRecognizer = theRecognizers[0];
[Visual Basic .NET]
This Microsoft® Visual Basic® .NET example gets the first Recognizer object from the Recognizers collection, theRecognizers.
Dim theFirstRecognizer As Microsoft.Ink.Recognizer = theRecognizers.Item(0)
See Also