Share via


ComplexObject.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 complex object instance since the last call to IEditableObject.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 ComplexObject

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()

See Also

Reference

ComplexObject Class

System.ServiceModel.DomainServices.Client Namespace