現在の Recognizer オブジェクトを表す文字列を返します。
名前空間 : Microsoft.Ink
アセンブリ : Microsoft.Ink (Microsoft.Ink.dll 内)
構文
'宣言
Public Overrides Function ToString As String
'使用
Dim instance As Recognizer
Dim returnValue As String
returnValue = instance.ToString()
public override string ToString()
public:
virtual String^ ToString() override
public String ToString()
public override function ToString() : String
戻り値
型 : System.String
現在の Recognizer オブジェクトを表す文字列を返します。
例
この C# の例では、RecognizerContext、theRecognizerContext のクエリを実行し、結合されている Recognizer オブジェクトを調べます。Recognizer オブジェクトの名前が、ListBox コントロール theListBox に追加されます。
[C#]
//Send the name of the recognizer to theListBox
theListBox.Items.Add(theRecognizerContext.Recognizer.ToString());
この Microsoft® Visual Basic® .NET の例では、RecognizerContext、theRecognizerContext のクエリを実行し、結合されている Recognizer オブジェクトを調べます。Recognizer オブジェクトの名前が、ListBox コントロール theListBox に追加されます。
[Visual Basic]
'Send the name of the recognizer to theListBox
theListBox.Items.Add(theRecognizerContext.Recognizer.ToString())
プラットフォーム
Windows Vista
.NET Framework および .NET Compact Framework では、各プラットフォームのすべてのバージョンはサポートしていません。サポートされているバージョンについては、「.NET Framework システム要件」を参照してください。
バージョン情報
.NET Framework
サポート対象 : 3.0