This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IS > ISymbologyControl Interface > ISymbologyControl.Clear Method (ArcObjects .NET 10.5 SDK) |
Clears all symbols and files from the SymbologyControl.
[Visual Basic .NET]
Public Sub Clear ( _
)
[C#] public void Clear ( );
[C++]
HRESULT Clear(
void
);
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.