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 > ILegend2 Interface > ILegend2.ClearItems Method (ArcObjects .NET 10.5 SDK) |
Removes all items from the legend.
[Visual Basic .NET]
Public Sub ClearItems ( _
)
[C#] public void ClearItems ( );
[C++]
HRESULT ClearItems(
void
);