Share via


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;
}
public final function get Count () : int

Property Value

Type: System.Int32
The number of Cursor objects contained in the Cursors collection.

Implements

ICollection.Count

Examples

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 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

Cursors Class

Cursors Members

Microsoft.Ink Namespace

Cursor

Other Resources

System.Collections.ICollection