Removes a layer.
[Visual Basic .NET] Public Sub RemoveLayer ( _ ByVal pLayer As ILayer _ )
[C#] public void RemoveLayer ( ILayer pLayer );
[C++]
HRESULT RemoveLayer(
ILayer* pLayer
);
[C++]Parameters
pLayer [in]pLayer is a parameter of type ILayer
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.