Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
Row

DocumentCustomProperties.Clear() Method

Removes all the custom document properties from a workbook.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v21.1.Core.dll

Declaration

void Clear()

Remarks

Use the Clear method to delete all user defined properties from a workbook. To remove an individual custom document property, get access to this property by its name (using the DocumentCustomProperties.Item property) and set it to null (Nothing in VB).

Example

// Remove all custom document properties.
workbook.DocumentProperties.Custom.Clear();
See Also