Partager via


DivisionUnit.ToString Method

DivisionUnit.ToString Method

Returns the recognized text for the Strokes collection in the DivisionUnit object.

Definition

Visual Basic .NET Overrides Public Function ToString() As String
C# public override string ToString();
Managed C++ public: String* ToString();

Return Value

System.String. Returns the recognized text for the Strokes collection in the DivisionUnit object, or null (Nothing in Microsoft® Visual Basic® .NET) for drawing elements.

Remarks

This method and the RecognitionString property return the same string.

Examples

[C#]

This C# example displays the recognition text for the DivisionUnit object, theDivisionUnit, to the console. The ToString method is called by the console's WriteLine Leave Site method.

Console.WriteLine("The text for the division unit is: " + theDivisionUnit);

[Visual Basic .NET]

This Microsoft® Visual Basic® .NET example displays the recognition text for the DivisionUnit object, theDivisionUnit, to the console. The ToString method is called by the console's WriteLine Leave Site method.

Console.WriteLine("The text for the division unit is: " & theDivisionUnit)

See Also