Share via


Recognizer.Name Property

Gets the name of the Recognizer object.

Namespace:  Microsoft.Ink
Assembly:  Microsoft.Ink (in Microsoft.Ink.dll)

Syntax

'Declaration
Public ReadOnly Property Name As String
'Usage
Dim instance As Recognizer 
Dim value As String 

value = instance.Name
public string Name { get; }
public:
property String^ Name {
    String^ get ();
}
public function get Name () : String

Property Value

Type: System.String
The name of the Recognizer object.

Examples

This C# example loads the names of all recognizers in the Recognizers collection, theRecognizers, into a list box, theListBox.

//...
Recognizers theRecognizers = new Recognizers();
foreach (Recognizer theRecognizer in theRecognizers)
{
    theListBox.Items.Add(theRecognizer.Name);
}

This Microsoft® Visual Basic® .NET example loads the names of all recognizers in the Recognizers collection, theRecognizers, into a list box, theListBox.

'...
Dim theRecognizers As New Recognizers()
Dim theRecognizer As Recognizer
For Each theRecognizer in theRecognizers
    theListBox.Items.Add(theRecognizer.Name)
Next

Platforms

Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

Recognizer Class

Recognizer Members

Microsoft.Ink Namespace