Bewerken

Delen via


BindingSource.RemoveCurrent Method

Definition

Removes the current item from the list.

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

Exceptions

The AllowRemove property is false.

-or-

Position is less than zero or greater than Count.

The underlying list represented by the List property is read-only or has a fixed size.

Remarks

The RemoveCurrent method is equivalent to the RemoveAt method.

Applies to

See also