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

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

ILegendGroups.RemoveAll Method

Remove all legend groups.

[Visual Basic .NET]
Public Sub RemoveAll ( _
public void RemoveAll (
HRESULT RemoveAll(

Product Availability

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

See Also

ILegendGroups Interface