ArcObjects Library Reference  (Carto)    

IMapLayers.AddLayer Method

Adds a layer to the map.

[Visual Basic 6.0]
Sub AddLayer(
    ByVal Layer As ILayer _
)
[Visual Basic .NET]
Public Sub AddLayer ( _
    ByVal Layer As ILayer _
)
[C#]
public void AddLayer (
    ILayer Layer
);
[Java]
public void addLayer (
    ILayer Layer
)
throws
    IOException,
    AutomationException
[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

 


Feedback Send feedback on this page