Edytuj

Udostępnij za pośrednictwem


TableRowGroupCollection.RemoveRange(Int32, Int32) Method

Definition

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)

Parameters

index
Int32

A zero-based index indicating the beginning of a range of items to remove.

count
Int32

The number of items to remove, beginning form the position specified by index.

Exceptions

Raised when index or count is less than zero, or when index is greater than or equal to Count.

Raised when index and count do not specify a valid range in this collection.

Remarks

Indices for remaining collection items may be adjusted to reflect the removed collection items.

Applies to

See also