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.OnTargetLayerChanged Event (ArcObjects .NET 10.5 SDK) |
Fires when the target layer changes.
[Visual Basic .NET] Public Event OnTargetLayerChanged As OnTargetLayerChangedEventHandler
[C#] public event OnTargetLayerChangedEventHandler OnTargetLayerChanged
[C++]
HRESULT OnTargetLayerChanged(
void
);
The OnTargetLayerChanged event is fired whenever the target layer changes during an edit session. For example, when the IEngineEditLayers::SetTargetLayer method is called programmatically or when the target layer is changed using the ControlsEditingTargetToolControl .