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


IMapServerLegendInfos.Insert Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapServerLegendInfos Interface > IMapServerLegendInfos.Insert Method
ArcGIS Developer Help

IMapServerLegendInfos.Insert Method

Adds a legend info at the specified position.

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

Index is a parameter of type long info [in]
info is a parameter of type IMapServerLegendInfo*

Product Availability

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

See Also

IMapServerLegendInfos Interface