Share via


Strokes.RemoveAt Method

Removes the Stroke object at the specified index of the Strokes collection.

Namespace:  Microsoft.Ink
Assembly:  Microsoft.Ink (in Microsoft.Ink.dll)

Syntax

'Declaration
Public Sub RemoveAt ( _
    i As Integer _
)
'Usage
Dim instance As Strokes 
Dim i As Integer

instance.RemoveAt(i)
public void RemoveAt(
    int i
)
public:
void RemoveAt(
    int i
)
public function RemoveAt(
    i : int
)

Parameters

Remarks

A Strokes collection is a set of references to ink data and is not the actual data itself. This method removes only the related object from a snapshot of, or reference to, the ink data and does not remove the actual ink data.

Examples

This C# example removes the first element from a Strokes collection, theStrokes.

theStrokes.RemoveAt(0);

This Microsoft Visual Basic.NET example removes the first element from a Strokes collection, theStrokes.

theStrokes.RemoveAt(0)

Platforms

Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

Strokes Class

Strokes Members

Microsoft.Ink Namespace

Strokes.Remove

Stroke