Adds a layer to the map cache.
[Visual Basic 6.0] Sub AddLayer(
ByVal Name As String, _
ByVal pLayer As ILayer _
)
[Visual Basic .NET] Public Sub AddLayer ( _ ByVal Name As String, _ ByVal pLayer As ILayer _ )
[C#] public void AddLayer ( string Name, ILayer pLayer );
[Java] public void addLayer ( String Name, ILayer pLayer ) throws IOException, AutomationException
[C++] HRESULT AddLayer( BSTR Name, ILayer* pLayer );
Parameters
Name [in]
Name is a parameter of type BSTR
pLayer [in]
pLayer is a parameter of type ILayer