[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IDocumentPropertyCollection.Count

Count Property

Count

Gets the number of document properties in the collection.

Declaration
int Count { get; }
ReadOnly Property Count As Integer
Property Value
Type Description
int

The number of document properties in the collection.

Examples
ICustomDocumentPropertyCollection properties = workbook.CustomDocumentProperties;
properties.Add("Department", "Sales");
properties.Add("Region", "North");
int count = properties.Count;