Column Collection. Remove Range(Int32, Int32) Method
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 a range of items, specified by beginning index and count, from the collection.
public: void RemoveRange(int index, int count);
public void RemoveRange (int index, int count);
member this.RemoveRange : int * int -> unit
Public Sub RemoveRange (index As Integer, count As Integer)
A zero-based index indicating the beginning of a range of items to remove.
The number of items to remove, beginning from the position specified by
count is less than zero, or when
index is greater than or equal to Count.
count do not specify a valid range in this collection.
Indices for remaining collection items may be adjusted to reflect the removed collection items.