BindingSource.RemoveCurrent Metoda

Definicja

Usuwa bieżący element z listy.

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

Wyjątki

Właściwość AllowRemove to false.

-lub-

Position wartość jest mniejsza niż zero lub większa niż Count.

Lista bazowa reprezentowana List przez właściwość jest tylko do odczytu lub ma stały rozmiar.

Uwagi

Metoda jest równoważna RemoveCurrent metodzie RemoveAt .

Dotyczy

Zobacz też