ArcObjects Library Reference (Carto)  

IMapLayers.AddLayer Method

Adds a layer to the map.

[Visual Basic .NET]
Public Sub AddLayer ( _
    ByVal Layer As ILayer _
)
[C#]
public void AddLayer (
    ILayer Layer
);
[C++]
HRESULT AddLayer(
  ILayer* Layer
);
[C++]

Parameters

Layer [in]

  Layer is a parameter of type ILayer

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

Adds the layer to the map.

See Also

IMapLayers Interface