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


IEngineEditProperties.TargetLayer Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IE > IEngineEditProperties Interface > IEngineEditProperties.TargetLayer Property
ArcGIS Developer Help

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