DesignerAutoFormatCollection::RemoveAt Method (Int32)

 

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

Namespace:   System.Web.UI.Design
Assembly:  System.Design (in System.Design.dll)

public:
void RemoveAt(
	int index
)

Parameters

index
Type: System::Int32

The zero-based index of the DesignerAutoFormat to remove from the collection.

Exception Condition
ArgumentOutOfRangeException

index is less than zero.

- or -

index is greater than the Count property.

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

System_CAPS_noteNote

When you remove an item from a collection, the index values change for subsequent items in the collection.

.NET Framework
Available since 2.0
Return to top
Show: