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


IEngineEditProperties.TargetLayer Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Controls)  

IEngineEditProperties.TargetLayer Property

The editor's target layer.

[Visual Basic .NET]
Public ReadOnly Property TargetLayer As ILayer
[C#]
public ILayer TargetLayer {get;}
[C++]
HRESULT get_TargetLayer(
  ILayer** Layer
);
[C++]

Parameters Layer [out, retval]
Layer is a parameter of type ILayer

Product Availability

Available with ArcGIS Engine.

Description

The target layer (or current layer) to be editied. For example, if the target layer is set to 'Buildings' any new features created will be part of the 'Buildings' layer.

The TargetLayer gets set when the end user interactively selects a layer using the ControlsEditingTargetToolControl.

See Also

IEngineEditProperties Interface