CustomStrokes.get_Item Method
CustomStrokes.get_Item Method |
Returns the Strokes object at the known index in a CustomStrokes collection.
Definition
Parameters
index System.Int32. The numeric index of the Strokes object to return from the collection.
Return Value
Microsoft.Ink.Strokes. Returns the Strokes object at the known index in a CustomStrokes collection.
Remarks
An error occurs if the index doesn't match any existing member of the CustomStrokes collection.
Note: [C#] Use the CustomStrokes collection's indexer as shown in the following example rather than using the CustomStrokes collection's get_Item method.
Examples
[C#]
This C# example gets the first Strokes object from the CustomStrokes property of an Ink object.
Strokes theFirstStrokes = theInk.CustomStrokes[0];
[VB.NET]
This Microsoft® Visual Basic® .NET example gets the first Strokes object from the CustomStrokes property of an Ink object.
Dim theFirstStrokes As Strokes = theInk.CustomStrokes.Item(0)
See Also