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


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

ILegendClasses.Add Method

Add a legend class.

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

LegendClass is a parameter of type ILegendClass*

Product Availability

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

See Also

ILegendClasses Interface