Bewerken

Share via


BindingSource.CancelEdit Method

Definition

Cancels the current edit operation.

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

Remarks

This method discards modifications to data since the last save or load operation if both of the following conditions are met:

This method calls the CancelCurrentEdit method of the underlying CurrencyManager, and is scoped to row-level changes.

Applies to

See also