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

IMapServerLegendGroup.Classes Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapServerLegendGroup Interface > IMapServerLegendGroup.Classes Property
ArcGIS Developer Help

IMapServerLegendGroup.Classes Property

A collection of legend class objects.

[Visual Basic .NET]
Public ReadOnly Property Classes As IMapServerLegendClasses
public IMapServerLegendClasses Classes {get;}
HRESULT get_Classes(
  IMapServerLegendClasses** Classes
Classes [out, retval]

Classes is a parameter of type IMapServerLegendClasses**

Product Availability

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


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

IMapServerLegendGroup Interface