This document is archived and information here might be outdated.  Recommended version.

IEngineEditEvents.OnTargetLayerChanged Event (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IE > IEngineEditEvents Interface > IEngineEditEvents.OnTargetLayerChanged Event
ArcGIS Developer Help

IEngineEditEvents.OnTargetLayerChanged Event

Fires when the target layer changes.

[Visual Basic .NET]
Public Event OnTargetLayerChanged As OnTargetLayerChangedEventHandler
public event OnTargetLayerChangedEventHandler OnTargetLayerChanged
HRESULT OnTargetLayerChanged(

Product Availability

Available with ArcGIS Engine.


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 .

See Also

IEngineEditEvents Interface