ArcGIS API for WPF - Library Reference
UndoEdits(Graphic) Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client Namespace > FeatureLayer Class > UndoEdits Method : UndoEdits(Graphic) Method

graphic
Graphic whose edits should be undone.
Reverts all edits on a graphic back to the state it was received from the server. If the feature was added, it will be removed from the layer.

Syntax

Visual Basic (Declaration) 
Public Overloads Function UndoEdits( _
   ByVal graphic As Graphic _
) As Boolean
C# 
public bool UndoEdits( 
   Graphic graphic
)

Parameters

graphic
Graphic whose edits should be undone.

Return Value

Returns true if the undo was successful, false if there was nothing to undo.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© ESRI, Inc. All Rights Reserved.