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.ClearClasses Method (ArcObjects .NET 10.5 SDK) |
Removes all classes from the group.
[Visual Basic .NET]
Public Sub ClearClasses ( _
)
[C#] public void ClearClasses ( );
[C++]
HRESULT ClearClasses(
void
);
Modifying the number of classes in a LegendGroup through addition, insertion, and deletion is the job of the renderer object.