DesignerAutoFormatCollection.RemoveAt(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes the DesignerAutoFormat 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 of the DesignerAutoFormat to remove from the collection.
Exceptions
Remarks
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.
Note
When you remove an item from a collection, the index values change for subsequent items in the collection.