Adds a layer to the current focus 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 );
This method is a shortcut to the AddLayer method on the focus map (IMap::Addlayer).
IMxDocument Interface | IMap.AddLayer Method