StateManagedCollection.IList.RemoveAt(Int32) Metoda

Definicja

IStateManager Usuwa element w określonym indeksie.

 virtual void System.Collections.IList.RemoveAt(int index) = System::Collections::IList::RemoveAt;
void IList.RemoveAt (int index);
abstract member System.Collections.IList.RemoveAt : int -> unit
override this.System.Collections.IList.RemoveAt : int -> unit
Sub RemoveAt (index As Integer) Implements IList.RemoveAt

Parametry

index
Int32

Liczony od zera indeks elementu, który ma zostać usunięty.

Implementuje

Wyjątki

Element StateManagedCollection jest tylko do odczytu.

Uwagi

Metoda jest wywoływana OnValidate w celu zweryfikowania value , zanim wartość zostanie usunięta z kolekcji. Metoda OnRemove jest wywoływana przed usunięciem obiektu, a OnRemoveComplete metoda jest wywoływana po usunięciu obiektu.

Dotyczy

Zobacz też