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


IMapServerLegendGroups.Insert Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IMapServerLegendGroups.Insert Method

Adds a legend group at the specified position.

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

Parameters Index [in] Index is a parameter of type long group [in]
group is a parameter of type IMapServerLegendGroup

Product Availability

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

See Also

IMapServerLegendGroups Interface