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


ILegend2.ClearItems Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

ILegend2.ClearItems Method

Removes all items from the legend.

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

Product Availability

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

See Also

ILegend2 Interface