Sdílet prostřednictvím


Recognizers.Item Property

Gets the Recognizer object at the specified index within the Recognizers collection.

Namespace:  Microsoft.Ink
Assembly:  Microsoft.Ink (in Microsoft.Ink.dll)

Syntax

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

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

Parameters

Property Value

Type: Microsoft.Ink.Recognizer
The Recognizer object at the specified index within the Recognizers collection.

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

This C# example gets the first Recognizer object from the Recognizers collection, theRecognizers.

Microsoft.Ink.Recognizer theFirstRecognizer = theRecognizers[0];

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)

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

Recognizers Class

Recognizers Members

Microsoft.Ink Namespace

Recognizer