ArcObjects Library Reference (ArcMapUI)  

IBasicDocument.AddLayer Method

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
);

Product Availability

Available with ArcGIS Desktop.

See Also

IBasicDocument Interface

.NET Samples

Automate ArcGIS Desktop applications (Code Files: Form1) |

.NET Related Topics

Automating the ArcGIS Desktop applications |