![]()  | 
                    
                         This document is archived and information here might be outdated. Recommended version.  | 
                
| ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapServerLegendGroups Interface (ArcObjects .NET 10.5 SDK) | 
Provides access to the Map Server Legend Groups Interface.
| Description | ||
|---|---|---|
![]()  | 
Add | Adds a legend group. | 
![]()  | 
Count | The legend group count. | 
![]()  | 
Element | The legend group at the specified position. | 
![]()  | 
Insert | Adds a legend group at the specified position. | 
![]()  | 
Remove | Removes the legend group at the specified position. | 
![]()  | 
RemoveAll | Removes all legend groups. | 
| CoClasses and Classes | Description | 
|---|---|
| MapServerLegendGroups | A collection of Map Server Legend Group objects. |