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


IEngineEditEvents.OnTargetLayerChanged Event (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Controls)  

IEngineEditEvents.OnTargetLayerChanged Event

Fires when the target layer changes.

[Visual Basic .NET]
Public Event OnTargetLayerChanged As OnTargetLayerChangedEventHandler
[C#]
public event OnTargetLayerChangedEventHandler OnTargetLayerChanged
[C++]
HRESULT OnTargetLayerChanged(
void
);

Product Availability

Available with ArcGIS Engine.

Description

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