This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IE > IEngineEditLayers Interface > IEngineEditLayers.TargetLayer Property (ArcObjects .NET 10.4 SDK) |
The EngineEditor's target layer that new features are added to.
[Visual Basic .NET] Public ReadOnly Property TargetLayer As IFeatureLayer
[C#] public IFeatureLayer TargetLayer {get;}
[C++]
HRESULT get_TargetLayer(
IFeatureLayer** Layer
);
[C++]
Parameters Layer [out, retval]
Layer is a parameter of type IFeatureLayer
Use this property to check the EngineEditor's target layer. The target layer is the layer that new features are typically written to by commands or edit tasks. For example, The "Create New Feature" task creates new features and stores them in the target layer. Use the IEngineEditLayers::SetTargetLayer property to set the target layer.
If the ControlsEditingTargetToolControl is not present then this property will be null at the start of the edit session until explicitly set.