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 _
)
[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