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


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

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