[]
Gets the collection of custom document properties in the workbook.
Use the returned ICustomDocumentPropertyCollection to add, remove, and retrieve workbook metadata defined by the application, such as string, numeric, Boolean, date, or linked-content properties.
ICustomDocumentPropertyCollection CustomDocumentProperties { get; }
ReadOnly Property CustomDocumentProperties As ICustomDocumentPropertyCollection
worksheet.Range["A1"].Value = "Quarterly Report";
workbook.Names.Add("ReportTitle", "=Sheet1!$A$1");
ICustomDocumentPropertyCollection properties = workbook.CustomDocumentProperties;
properties.Add("Department", "Finance");
properties.AddLinkToContent("TitleProperty", "ReportTitle");