ActivityCollection.IList<Activity>.RemoveAt(Int32) Método

Definición

Quita el elemento IList en el índice especificado.

 virtual void System.Collections.Generic.IList<System.Workflow.ComponentModel.Activity>.RemoveAt(int index) = System::Collections::Generic::IList<System::Workflow::ComponentModel::Activity ^>::RemoveAt;
void IList<Activity>.RemoveAt(int index);
abstract member System.Collections.Generic.IList<System.Workflow.ComponentModel.Activity>.RemoveAt : int -> unit
override this.System.Collections.Generic.IList<System.Workflow.ComponentModel.Activity>.RemoveAt : int -> unit
Sub RemoveAt (index As Integer) Implements IList(Of Activity).RemoveAt

Parámetros

index
Int32

Índice de base cero del elemento que se va a quitar.

Implementaciones

Excepciones

indexno es un índice válido en .IList

es ICollection de solo lectura.

Comentarios

En colecciones de elementos contiguos, como listas, los elementos que siguen al elemento quitado se mueven hacia arriba para ocupar el lugar vacío. Si la colección está indizada, también se actualizan los índices de los elementos que se mueven. Este comportamiento no se aplica a las colecciones en las que los elementos se agrupan conceptualmente en cubos, como una tabla hash.

Se aplica a