共用方式為


Strokes.RemoveRecognitionResult Method

Strokes.RemoveRecognitionResult Method

Removes the RecognitionResult object that is associated with the Strokes collection.

Definition

Visual Basic .NET Public Sub RemoveRecognitionResult()
C# public void RemoveRecognitionResult();
Managed C++ public: void RemoveRecognitionResult();

Exceptions

ObjectDisposedException Leave Site: The Strokes collection is disposed.

Remarks

To set a recognition result on a Strokes collection, use the RecognitionResult.SetResultOnStrokes method.

Examples

[C#]

This C# example removes the RecognitionResult object that is associated with the Strokes collection in the InkCollector object, theInkCollector.

theInkCollector.Ink.Strokes.RemoveRecognitionResult();
                

[VB.NET]

This Microsoft® Visual Basic® .NET example removes the RecognitionResult object that is associated with the Strokes collection in the InkCollector object, theInkCollector.

theInkCollector.Ink.Strokes.RemoveRecognitionResult()
                

See Also