Compartir a través de


Cursors.Count Property

Gets the number of Cursors objects contained in the Cursors collection.

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

Syntax

'Declaration
Public ReadOnly Property Count As Integer
'Usage
Dim instance As Cursors
Dim value As Integer

value = instance.Count
public int Count { get; }
public:
virtual property int Count {
    int get () sealed;
}
/** @property */
public final int get_Count ()
public final function get Count () : int
Not applicable.

Property Value

The number of Cursor objects contained in the Cursors collection.

Example

This C# example gets the number of Cursor objects for the Cursors collection of an InkCollector, theInkCollector.

Cursors theCursors = theInkCollector.Cursors;
int theCount = theCursors.Count;

This Microsoft® Visual Basic® .NET example gets the number of Cursor objects for the Cursors collection of an InkCollector, theInkCollector.

Dim theCursors As Cursors = theInkCollector.Cursors
Dim theCount As Integer = theCursors.Count

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

Other Resources

System.Collections.ICollection