This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IC > ICompositeGraphicsLayer Interface > ICompositeGraphicsLayer.AddLayer Method (ArcObjects .NET 10.5 SDK) |
Adds a layer to the composite graphics layer.
[Visual Basic .NET] Public Function AddLayer ( _ ByVal LayerName As String, _ ByVal FeatureLayer As IFeatureLayer _ ) As IGraphicsLayer
[C#] public IGraphicsLayer AddLayer ( string LayerName, IFeatureLayer FeatureLayer );
[C++]
HRESULT AddLayer(
BSTR LayerName,
IFeatureLayer* FeatureLayer,
IGraphicsLayer** GraphicsLayer
);
[C++]
Parameters LayerName [in] LayerName is a parameter of type BSTR FeatureLayer [in]
FeatureLayer is a parameter of type IFeatureLayer GraphicsLayer [out, retval]
GraphicsLayer is a parameter of type IGraphicsLayer