Tablet.Name Property
Tablet.Name Property |
Gets the name of the Tablet object.
Definition
Visual Basic .NET Public ReadOnly Property Name As String C# public string Name { get; } Managed C++ public: __property String* get_Name();
Property Value
System.String. The name of the Tablet object.
This property is read-only. This property has no default value.
Examples
[C#]
This C# example loads the names of all Tablet objects in the Tablets collection, theTablets, into a list box, theListBox.
// Get the collection of tablets Tablets theTablets = new Tablets(); // Add the name of each tablet to the list box foreach (Tablet theTablet in theTablets) { theListBox.Items.Add(theTablet.Name); }
[Visual Basic .NET]
This Microsoft® Visual Basic® .NET example loads the names of all Tablet objects in the Tablets collection, theTablets, into a list box, theListBox.
' Get the collecton of tablets. Dim theTablets As Microsoft.Ink.Tablets = New Microsoft.Ink.Tablets ' Add the name of each tablet to the list box. For Each theTablet As Microsoft.Ink.Tablet In theTablets theListBox.Items.Add(theTablet.Name) Next