This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILegendGroup Interface > ILegendGroup.AddClass Method (ArcObjects .NET 10.5 SDK) |
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
Modifying the number of classes in a LegendGroup through addition, insertion, and deletion is the job of the renderer object.