Cursors.Item Property
Gets the Cursor object at the specified index within the Cursors collection.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in microsoft.ink.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
index As Integer _
) As Cursor
'Usage
Dim instance As Cursors
Dim index As Integer
Dim value As Cursor
value = instance(index)
public Cursor this [
int index
] { get; }
public:
property Cursor^ default [int] {
Cursor^ get (int index);
}
/** @property */
public Cursor get_Item (int index)
Not applicable.
Parameters
- index
The zero-based index of the Cursor object to get.
Property Value
The Cursor object at the specified index within the Cursors collection.
Remarks
An System.ArgumentOutOfRangeException is thrown if the index does not match an existing member of the Cursors 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 Cursor object from the Cursors collection.
Microsoft.Ink.Cursor theFirstCursor = theInkCollector.Cursors[0];
This Microsoft® Visual Basic® .NET example gets the first Cursor object from the Cursors collection.
Dim theFirstCursor As Microsoft.Ink.Cursor = theInkCollector.Cursors.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
Cursors Class
Cursors Members
Microsoft.Ink Namespace
Cursor