Freigeben über


RecognitionAlternate.ToString Method

RecognitionAlternate.ToString Method

Returns a string that represents the current RecognitionAlternate 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 a string that represents the current RecognitionAlternate object.

Examples

[C#]

This C# example displays the string recognized from the RecognitionAlternate object, theRecognitionAlternate, in the TextBox Leave Site control, theTextBox.

theTextBox.Text = theRecognitionAlternate.ToString();

[Visual Basic .NET]

This Microsoft® Visual Basic® .NET example displays the string recognized from the RecognitionAlternate object, theRecognitionAlternate, in the TextBox Leave Site control, theTextBox.

theTextBox.Text = theRecognitionAlternate.ToString()