ArcObjects Library Reference (Carto)  

ILegendGroup.ClearClasses Method

Removes all classes from the group.

[Visual Basic .NET]
Public Sub ClearClasses ( _
)
[C#]
public void ClearClasses (
);
[C++]
HRESULT ClearClasses(
void
);

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