'Declaration Public Sub AddCustomProperty( _ ByVal cp As CustomProperty _ )
'Usage Dim instance As Document Dim cp As CustomProperty instance.AddCustomProperty(cp)
public void AddCustomProperty( CustomProperty cp )
Parameters
- cp
'Declaration Public Sub AddCustomProperty( _ ByVal cp As CustomProperty _ )
'Usage Dim instance As Document Dim cp As CustomProperty instance.AddCustomProperty(cp)
public void AddCustomProperty( CustomProperty cp )
Upon creation of a new property, if one already exists with the same name, the new property will automatically replace the old one.
Note that CustomProperty names are case insensitive.
Also note that even though this method works, it is less efficient than the AddCustomProperties method.
Target Platforms: Windows 11, Windows 10, Windows 7, Windows, 11, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2