Partager via


CustomStrokes.get_Item Method

CustomStrokes.get_Item Method

Returns the Strokes object at the known index in a CustomStrokes collection.

Definition

Visual Basic .NET Public Function get_Item( _
ByVal name As String _
) As Strokes
C# public Strokes get_Item(
string name
);
Managed C++ public: Strokes* get_Item(
String *name
);

Parameters

name System.String.

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

See Also