Addproperty, Addproperty 137 – Kofax DM API User Manual
Page 157
Advertising

DM API M
ETHODS
AND
P
ROPERTIES
137
AddProperty
AddProperty
Use this method to add a property/value pair to a property value list.
Syntax
PCDPropertyList.AddProperty( strPropName, _
vntPropVal )
Parameters
Returns
Returns an
HRESULT
to receive the result of the call.
S_OK
indicates
success. Languages such as JavaScript, Visual Basic, and VBScript
return this as a function value.
Example
Object uses the AddProperty
method.
Related Items
See the
object.
See the following methods:
DeleteProperty
GetPropertyIndex
See the following properties:
strPropName
The string that identifies the name of the
property to add to the list.
vntPropVal
The
VARIANT that contains the value of the
property that is to be added to the list.
Advertising