Description
Use SetCustomProperty to create a custom document property. Pass the method the name and value of the property. The value can be one of the following types, depending on the property: String, Double, Integer, Boolean, or DateTime.C#
public void SetCustomProperty(System.String key, System.Object value)
vb.net
Public Sub SetCustomProperty(ByVal key As String, ByVal value As Object)
Parameters
key
The key or name of the custom property.value
The value of the custom property.Examples
C#
docProps.SetCustomProperty("Reviewed by", "J. Smith");vb.net
docProps.SetCustomProperty("Reviewed by", "J. Smith")
