ArcObjects Library Reference (Carto)  

ILegendGroup.AddClass Method

Adds a new legend class to the group at the end of list.

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

Parameters

LegendClass [in]

  LegendClass is a parameter of type ILegendClass

Product Availability

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

Remarks

Modifying the number of classes in a LegendGroup through addition, insertion, and deletion is the job of the renderer object.

See Also

ILegendGroup Interface