![]()  | 
                    
                         This document is archived and information here might be outdated. Recommended version.  | 
                
| ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapServerLegendGroups Interface > IMapServerLegendGroups.Insert Method (ArcObjects .NET 10.4 SDK) | 
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