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

TypeDescription
The Clear method clears all FormatContent objects from the collection. The Remove method removes a FormatContent object based on its key. If the PivotBarVisible property includes the exPivotBarAllowFormatContent flag, the control's context menu includes the FormatContent objects. If the exPivotBarAllowFormatContent flag is missing from the PivotBarVisible property, the control's context menu displays no FormatContent objects. The Count property specifies the number of FormatContent objects in the collection. The Item property accesses a FormatContent object based on its key.