[]
Gets the number of document properties in the collection.
int Count { get; }
ReadOnly Property Count As Integer
| Type | Description |
|---|---|
| int | The number of document properties in the collection. |
ICustomDocumentPropertyCollection properties = workbook.CustomDocumentProperties;
properties.Add("Department", "Sales");
properties.Add("Region", "North");
int count = properties.Count;