Поделиться через


Cursors.Count - свойство

Обновлен: Ноябрь 2007

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

Пространство имен:  Microsoft.Ink
Сборка:  Microsoft.Ink (в Microsoft.Ink.dll)

Синтаксис

'Декларация
Public ReadOnly Property Count As Integer
'Применение
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

Значение свойства

Тип: System.Int32
The number of Cursor objects contained in the Cursors collection.

Реализации

ICollection.Count

Примеры

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

Платформы

Windows Vista

Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.

Сведения о версии

.NET Framework

Поддерживается в версии: 3.0

См. также

Ссылки

Cursors Класс

Cursors - члены

Microsoft.Ink - пространство имен

Cursor

Другие ресурсы

System.Collections.ICollection