BindingSource.RemoveCurrent BindingSource.RemoveCurrent BindingSource.RemoveCurrent BindingSource.RemoveCurrent Method

Definición

Quita el elemento actual de la lista.Removes the current item from the list.

public:
 void RemoveCurrent();
public void RemoveCurrent ();
member this.RemoveCurrent : unit -> unit
Public Sub RemoveCurrent ()

Excepciones

La propiedad AllowRemove es false.The AllowRemove property is false.

-o bien--or- Position es menor que cero o mayor que Count.Position is less than zero or greater than Count.

La lista subyacente representada por la List propiedad es de solo lectura o tiene un tamaño fijo.The underlying list represented by the List property is read-only or has a fixed size.

Comentarios

El RemoveCurrent método es equivalente a la RemoveAt método.The RemoveCurrent method is equivalent to the RemoveAt method.

Se aplica a

Consulte también: