Share via


CustomStrokes.Count Property

CustomStrokes.Count Property

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

Definition

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

Property Value

System.Int32. The number of Strokes objects contained in the CustomStrokes collection.

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

Examples

[C#]

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;

[Visual Basic .NET]

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

See Also