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

IMapServerLegendClasses.Add Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapServerLegendClasses Interface > IMapServerLegendClasses.Add Method
ArcGIS Developer Help

IMapServerLegendClasses.Add Method

Adds a legend class.

[Visual Basic .NET]
Public Sub Add ( _
    ByVal LegendClass As IMapServerLegendClass _
public void Add (
    IMapServerLegendClass LegendClass
  IMapServerLegendClass* LegendClass
LegendClass [in]

LegendClass is a parameter of type IMapServerLegendClass*

Product Availability

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

See Also

IMapServerLegendClasses Interface