method FormatAppearances.Clear ()
Removes all objects in a collection.

TypeDescription
The Clear method removes all elements in the FormatAppearances collection. Excludes the exPivotBarAllowFormatAppearance flag from the PivotBarVisible property, and so no FormatAppearance objects are displayed on the control's context menu. The Remove method removes a FormatAppearance object giving its key. Use the Add method to add a new FormatAppearance object. You can use the for each statement to enumerate all objects in the FormatAppearances collection.