This document is archived and information here might be outdated.  Recommended version.


IMapLayerInfos.Insert Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IMapLayerInfos.Insert Method

Adds a map layer info at the specified position.

[Visual Basic .NET]
Public Sub Insert ( _
    ByVal Index As Integer, _
    ByVal MapLayerInfo As IMapLayerInfo _
)
[C#]
public void Insert (
    int Index,
    IMapLayerInfo MapLayerInfo
);
[C++]
HRESULT Insert(
  long Index,
  IMapLayerInfo* MapLayerInfo
);
[C++]

Parameters Index [in]
Index is a parameter of type long MapLayerInfo [in]
MapLayerInfo is a parameter of type IMapLayerInfo*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IMapLayerInfos Interface