Name

IEditableObject

Synopsis

This interface should be implemented by classes that provide edit-rollback/commit semantics in data-binding scenarios (such as System.Data.DataRowView).

BeginEdit() should initiate an editing session, CancelEdit() should perform a rollback, discarding any changes that have been made, and EndEdit( ) should commit any such changes.


public interface IEditableObject {

// Public Instance Methods

   public void BeginEdit();

   public void CancelEdit();

   public void EndEdit();

}

Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.