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


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

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

Gets the number of Strokes objects contained in the CustomStrokes collection.

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

Синтаксис

'Декларация
Public ReadOnly Property Count As Integer
'Применение
Dim instance As CustomStrokes
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 Strokes objects contained in the CustomStrokes collection.

Реализации

ICollection.Count

Примеры

This C# example gets the number of Strokes objects within the CustomStrokes collection of an Ink object, theInk.

CustomStrokes theCustomStrokes = theInk.CustomStrokes;
int theCount = theCustomStrokes.Count;

This Microsoft® Visual Basic® .NET example finds the number of Strokes objects within the CustomStrokes collection of an Ink object, theInk.

Dim theCustomStrokes As CustomStrokes = theInk.CustomStrokes
Dim theCount As Integer = theCustomStrokes.Count

Платформы

Windows Vista

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

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

.NET Framework

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

См. также

Ссылки

CustomStrokes Класс

CustomStrokes - члены

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

Strokes

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

System.Collections.ICollection