BoundsCheckableList1.RemoveAt

BoundsCheckableList<T>.RemoveAt metod

Tar bort elementet vid det angivna indexet av System.Collections.Generic.List.

public void RemoveAt(int index)
ParameterTypBeskrivning
indexInt32Det nollbaserade indexet för elementet som ska tas bort.

Undantag

undantagvillkor
ArgumentOutOfRangeExceptionindex är mindre än 0. -eller- index är lika med eller större än Count.

Se Även