ArcGIS Enterprise SDK
IMapServerLegendInfo.LegendGroups Property
ArcGIS Developer Help

IMapServerLegendInfo.LegendGroups Property

A collection of legend group objects.

[Visual Basic .NET]
Public ReadOnly Property LegendGroups As IMapServerLegendGroups
[C#]
public IMapServerLegendGroups LegendGroups {get;}

Remarks

Legends are associated with renderers that belong to each layer in a map. Each layer has a separate renderer. Each renderer has one or more legend groups. Each legend group has one or more legend classes.

See Also

IMapServerLegendInfo Interface