This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IE > IEngineEditEvents Interface > IEngineEditEvents.OnBeforeStopEditing Event (ArcObjects .NET 10.5 SDK) |
Fires before editing stops.
[Visual Basic .NET] Public Event OnBeforeStopEditing As OnBeforeStopEditingEventHandler
[C#] public event OnBeforeStopEditingEventHandler OnBeforeStopEditing
[C++]
HRESULT OnBeforeStopEditing(
VARIANT_BOOL saveChanges
);
[C++]
Parameters saveChanges [in] saveChanges is a parameter of type VARIANT_BOOL
The BeforeStopEditing event is fired whenever an edit session ends and before the edits are committed or discarded. Use this event to verify the edit before it is committed.