Share via


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 Default Property Item ( _
    index As Integer _
) As Recognizer
'Usage
Dim instance As Recognizers
Dim index As Integer
Dim value As Recognizer

value = instance(index)
public Recognizer this [
    int index
] { get; }
public:
property Recognizer^ default [int] {
    Recognizer^ get (int index);
}
/** @property */
public Recognizer get_Item (int index)
Not applicable.

Parameters

  • index
    The zero-based index of the Recognizer object to get.

Property Value

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.

Example

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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

Recognizers Class
Recognizers Members
Microsoft.Ink Namespace
Recognizer