Share via


InkRecognizerCollection.GetPriorityInkRecognizer Method

Gets the first InkRecognizer in the collection.

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

Syntax

'Declaration
Public Function GetPriorityInkRecognizer As InkRecognizer
'Usage
Dim instance As InkRecognizerCollection 
Dim returnValue As InkRecognizer 

returnValue = instance.GetPriorityInkRecognizer()
public InkRecognizer GetPriorityInkRecognizer()
public:
InkRecognizer^ GetPriorityInkRecognizer()
public function GetPriorityInkRecognizer() : InkRecognizer

Return Value

Type: Microsoft.Ink.InkRecognizer
The first InkRecognizer in the collection, or a nulla null reference (Nothing in Visual Basic) reference (Nothing in Visual Basic) if the collection is empty.

Examples

The following example gets the first InkRecognizer from the InkRecognizerCollection, theInkRecognizers.

' Get the first recognizer from the InkRecognizerCollection. 
Dim theFirstInkRecognizer As Microsoft.Ink.InkRecognizer = _
    theInkRecognizers.GetPriorityInkRecognizer()
            // Get the first recognizer from the InkRecognizerCollection.
            Microsoft.Ink.InkRecognizer theFirstInkRecognizer =
                theInkRecognizers.GetPriorityInkRecognizer();

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

InkRecognizerCollection Class

InkRecognizerCollection Members

GetPriorityInkRecognizer Overload

Microsoft.Ink Namespace