ArcObjects Library Reference  (Carto)    

IBasicMap.AddLayer Method

Adds a layer to the map.

[Visual Basic 6.0]
Sub AddLayer(
    ByVal pLayer As ILayer _
)
[Visual Basic .NET]
Public Sub AddLayer ( _
    ByVal pLayer As ILayer _
)
[C#]
public void AddLayer (
    ILayer pLayer
);
[Java]
public void addLayer (
    ILayer pLayer
)
throws
    IOException,
    AutomationException
[C++]
HRESULT AddLayer(
  ILayer* pLayer
);
[C++]

Parameters

pLayer [in]

  pLayer is a parameter of type ILayer

Product Availability

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

See Also

IBasicMap Interface

 


Feedback Send feedback on this page