Collection. Remove At(Int32) Method
public: void RemoveAt(int index);
public void RemoveAt (int index);
member this.RemoveAt : int -> unit
Public Sub RemoveAt (index As Integer)
Use the RemoveAt method to remove the Style object at a specified index location from the StyleCollection object. All items that follow that Style object are then moved up to fill in the vacant position. The indexes of the moved items are also updated.