Entity.IEditableObject.CancelEdit Method

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Cancels the edits made to this entity since the last call to BeginEdit.

Namespace:  System.ServiceModel.DomainServices.Client
Assembly:  System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)

Syntax

'Declaration
Private Sub CancelEdit Implements IEditableObject.CancelEdit
'Usage
Dim instance As Entity

CType(instance, IEditableObject).CancelEdit()
void IEditableObject.CancelEdit()
private:
virtual void CancelEdit() sealed = IEditableObject::CancelEdit
private abstract CancelEdit : unit -> unit 
private override CancelEdit : unit -> unit 
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Implements

IEditableObject.CancelEdit()

Remarks

This member is an explicit interface member implementation. It can be used only when the Entity instance is cast to an IEditableObject interface.

See Also

Reference

Entity Class

System.ServiceModel.DomainServices.Client Namespace