|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapLayerInfos Interface > IMapLayerInfos.Remove Method (ArcObjects .NET 10.5 SDK) | 
Removes the map layer info at the specified position.
[Visual Basic .NET] Public Sub Remove ( _ ByVal Index As Integer _ )
[C#] public void Remove ( int Index );
[C++]
HRESULT Remove(
  long Index
);
[C++]
Parameters Index [in] Index is a parameter of type long