This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IE > IEditor Interface > IEditor.HasEdits Method (ArcObjects .NET 10.4 SDK) |
Indicates whether edits have been made during the session.
[Visual Basic .NET] Public Function HasEdits ( _ ) As Boolean
[C#] public bool HasEdits ( );
If Not pEditor.HasEdits Then
pEditor.StopEditing False
Else
'
'Code to prompt for Save Changes (Yes/No)
'
End If