Bagikan melalui


Cursor.Id Property

Cursor.Id Property

Gets the identifier of the Cursor object.

Definition

Visual Basic .NET Public ReadOnly Property Id As Integer
C# public int Id { get; }
Managed C++ public: __property int* get_Id();

Property Value

System.Int32. The Cursor object's identifier.

This property is read-only. This property has no default value.

Remarks

Note: A Cursor object's identifier is constant over time, meaning that it never changes.

Examples

[C#]

This C# example gets the identifier of a Cursor, theCursor.

int theCursorID = theCursor.Id;
                

[VB.NET]

This Microsoft® Visual Basic® .NET example gets the identifier of a Cursor, theCursor.

Dim theCursorID As Integer = theCursor.Id