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 propiedad List es de sólo 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 RemoveAt al método.The RemoveCurrent method is equivalent to the RemoveAt method.

Se aplica a

Consulte también: