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


IMapServerLegendGroups.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 > IMapServerLegendGroups Interface > IMapServerLegendGroups.Insert Method
ArcGIS Developer Help

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