ArcObjects Library Reference (Carto)  

IMapServerLegendClasses.Add Method

Adds a legend class.

[Visual Basic .NET]
Public Sub Add ( _
    ByVal LegendClass As IMapServerLegendClass _
)
[C#]
public void Add (
    IMapServerLegendClass LegendClass
);
[C++]
HRESULT Add(
  IMapServerLegendClass* LegendClass
);
[C++]

Parameters

LegendClass [in]

  LegendClass is a parameter of type IMapServerLegendClass

Product Availability

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

See Also

IMapServerLegendClasses Interface