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

DocumentCustomProperties.Add Method

Name Parameters Description
Add(String, Bookmark) name, value Adds a new custom property linked to the specified bookmark and value to the collection of custom properties for the document.
Add(String, Boolean) name, value Adds a new custom property with the specified name and value to the collection of custom properties for the document.
Add(String, DateTime) name, value Adds a new custom property with the specified name and value to the collection of custom properties for the document.
Add(String, Double) name, value Adds a new custom property with the specified name and value to the collection of custom properties for the document.
Add(String, Int32) name, value Adds a new custom property with the specified name and value to the collection of custom properties for the document.
Add(String, String) name, value Adds a new custom property with the specified name and value to the collection of custom properties for the document.