共用方式為


LinkedElementCollection<T>.RemoveRange(Int32, Int32) Method

Definition

Removes a range of elements from 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

Index of the first element to remove.

count
Int32

Number of elements to remove.

Applies to