This document is archived and information here might be outdated.  Recommended version.

IBasicDocument.AddLayer Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > ArcMapUI > ESRI.ArcGIS.ArcMapUI > Interfaces > IB > IBasicDocument Interface > IBasicDocument.AddLayer Method
ArcGIS Developer Help

IBasicDocument.AddLayer Method

Adds a layer to the current focus map or scene.

[Visual Basic .NET]
Public Sub AddLayer ( _
    ByVal pLayer As ILayer _
public void AddLayer (
    ILayer pLayer

Product Availability

Available with ArcGIS Desktop.

See Also

IBasicDocument Interface