[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IDocumentPropertyCollection.Clear

Clear Method

Clear()

Removes all properties from the collection.

Use this method to empty a document property collection before adding a new set of properties.

Declaration
void Clear()
Sub Clear()
Examples
ICustomDocumentPropertyCollection properties = workbook.CustomDocumentProperties;
properties.Add("Department", "Sales");
properties.Add("Quarter", "Q2");
properties.Clear();