This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > ArcMapUI > ESRI.ArcGIS.ArcMapUI > Interfaces > IB > IBasicDocument2 Interface > IBasicDocument2.AddLayer Method (ArcObjects .NET 10.4 SDK) |
Adds a layer to the current focus map or scene.
[Visual Basic .NET] Public Sub AddLayer ( _ ByVal pLayer As ILayer _ )
[C#] public void AddLayer ( ILayer pLayer );