共用方式為


RecognizerContext.Recognizer Property

RecognizerContext.Recognizer Property

Gets or sets the Recognizer object used by the RecognizerContext object.

Definition

Visual Basic .NET Public ReadOnly Property Recognizer As Recognizer
C# public Recognizer Recognizer { get; }
Managed C++ public: __property Recognizer* get_Recognizer();

Property Value

Microsoft.Ink.Recognizer.

This property is read-only. This property has no default value.

Exceptions

ObjectDisposedException Leave Site:

Examples

[C#]

This C# example gets the recognizer that is used by the default RecognizerContext object, theRecognizerContext.

RecognizerContext theRecognizerContext = new RecognizerContext();
Recognizer theRecognizer = theRecognizerContext.Recognizer;

[Visual Basic .NET]

This Microsoft® Visual Basic® .NET example gets the recognizer that is used by the default RecognizerContext object, theRecognizerContext.

Dim theRecognizerContext As New RecognizerContext()
Dim theRecognizer As Recognizer = theRecognizerContext.Recognizer

See Also