ערוך

שתף באמצעות


DesignerRegionCollection.RemoveAt(Int32) Method

Definition

Removes the DesignerRegion object at the specified index within the collection.

public:
 void RemoveAt(int index);
public void RemoveAt (int index);
member this.RemoveAt : int -> unit
Public Sub RemoveAt (index As Integer)

Parameters

index
Int32

The zero-based index within the collection of the DesignerRegion to remove.

Exceptions

index is less than zero.

-or-

index is greater than the Count property.

Remarks

Use the RemoveAt method to remove a region at a particular index from the collection. To remove a specified region from the collection, use the Remove method. To remove all regions from the collection, use the Clear method.

Note

When you remove an item from the collection, the indexes change for subsequent items in the collection.

Applies to

See also