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


ISymbologyControlDefault.Clear Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IS > ISymbologyControlDefault Interface > ISymbologyControlDefault.Clear Method
ArcGIS Developer Help

ISymbologyControlDefault.Clear Method

Clears all symbols and files from the SymbologyControl.

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

Product Availability

Available with ArcGIS Engine.

Description

Clears all items from the SymbologyControl. Items are removed from each SymbologyStyleClass regardless of whether they were loaded using the LoadStyleFile, LoadDesktopStyleFile or ISymbologyStyleClass::AddItem methods.

See Also

ISymbologyControlDefault Interface