Indicates if edits have been made.
[Visual Basic .NET] Public Function HasEdits ( _ ) As Boolean
[C#] public bool HasEdits ( );
[C++]
HRESULT HasEdits(
VARIANT_BOOL* HasEdits
);
[C++]Parameters
HasEdits [out, retval] HasEdits is a parameter of type VARIANT_BOOL
Product Availability
Available with ArcGIS Engine.
Description
This property reports whether or not any edits have been made in the current edit session. For example, if this property returns False then editing can be stopped without saving the changes by calling IEngineEditor::StopEditing with the False parameter.
Remarks
[C#]
[C#]
if
(m_EngineEditor.HasEdits() ==false
) m_EngineEditor.StopEditing(false
);else
{//Code to prompt for Save Changes (Yes/No)
}
[Visual Basic .NET]
[Visual Basic .NET]
If
(m_EngineEditor.HasEdits() =False
)Then
m_EngineEditor.StopEditing(False
)Else
'Code to prompt for Save Changes (Yes/No)
End
If