Compartir a través de


ExtendedProperties.RemoveAt Method

ExtendedProperties.RemoveAt Method

Removes an ExtendedProperty object at the specified index of the ExtendedProperties collection.

Definition

Visual Basic .NET Public Sub RemoveAt( _
ByVal i As Integer _
)
C# public void RemoveAt(
int i
);
Managed C++ public: void RemoveAt(
int *i
);

Parameters

i System.Int32. The index of the ExtendedProperty object to be removed from the ExtendedProperties collection.

Exceptions

ArgumentOutOfRangeException Leave Site: The index value was not found in the ExtendedProperties collection.

Remarks

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

Examples

[C#]

This C# example removes the first element from an ExtendedProperties collection of a Stroke object, theStroke.

theStroke.ExtendedProperties.RemoveAt(0);
                

[VB.NET]

This Microsoft® Visual Basic® .NET example removes the first element from an ExtendedProperties collection of a Stroke object, theStroke.

theStroke.ExtendedProperties.RemoveAt(0)
                

See Also