[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IDocumentPropertyCollection.Remove

Remove Method

Remove(string)

Removes the property with the specified name from the collection.

Declaration
void Remove(string name)
Sub Remove(name As String)
Parameters
Type Name Description
string name

The case-insensitive name of the property to remove.

Examples
ICustomDocumentPropertyCollection properties = workbook.CustomDocumentProperties;
properties.Add("Department", "Sales");
properties.Add("Region", "North");
properties.Remove("department");