Tablets.Item Property
Gets the Tablet object at the specified index within the Tablets collection.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in microsoft.ink.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
index As Integer _
) As Tablet
'Usage
Dim instance As Tablets
Dim index As Integer
Dim value As Tablet
value = instance(index)
public Tablet this [
int index
] { get; }
public:
property Tablet^ default [int] {
Tablet^ get (int index);
}
/** @property */
public Tablet get_Item (int index)
Not applicable.
Parameters
- index
The zero-based index of the Tablet object to get.
Property Value
The Tablet object at the specified index within the Tablets collection.
Remarks
An ArgumentOutOfRangeException is thrown if the index does not match an existing member of the Tablets collection.
Note
In C#, use the collection's indexer as shown in the following example, instead of using the collection's Item property.
Example
This C# example gets the first Tablet object from the Tablets collection, theTablets
.
Microsoft.Ink.Tablets theTablets = new Tablets();
Microsoft.Ink.Tablet theFirstTablet = theTablets[0];
This Microsoft® Visual Basic® .NET example gets the first Tablet object from the Tablets collection, theTablets
.
Dim theTablets As Microsoft.Ink.Tablets = new Tablets()
Dim theFirstTablet As Microsoft.Ink.Tablet = theTablets.Item(0)
Platforms
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.
Version Information
.NET Framework
Supported in: 3.0
See Also
Reference
Tablets Class
Tablets Members
Microsoft.Ink Namespace
Tablet