Freigeben über


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 void RemoveAt (
    int i
)
public function RemoveAt (
    i : int
)
Not applicable.

Parameters

  • i

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.

Example

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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

Strokes Class
Strokes Members
Microsoft.Ink Namespace
Microsoft.Ink.Strokes.Remove
Stroke