.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

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.