add method

add

Creates a new custom document property of the PropertyType.String data type.

Returns

The newly created property object.

def add(self, name, value):
    ...
ParameterTypeDescription
namestrThe name of the property.
valuestrThe value of the property.

add

Creates a new custom document property of the PropertyType.Number data type.

Returns

The newly created property object.

def add(self, name, value):
    ...
ParameterTypeDescription
namestrThe name of the property.
valueintThe value of the property.

add

Creates a new custom document property of the PropertyType.DateTime data type.

Returns

The newly created property object.

def add(self, name, value):
    ...
ParameterTypeDescription
namestrThe name of the property.
valueDateTimeThe value of the property.

add

Creates a new custom document property of the PropertyType.Boolean data type.

Returns

The newly created property object.

def add(self, name, value):
    ...
ParameterTypeDescription
namestrThe name of the property.
valueboolThe value of the property.

add

Creates a new custom document property of the PropertyType.Float data type.

Returns

The newly created property object.

def add(self, name, value):
    ...
ParameterTypeDescription
namestrThe name of the property.
valuefloatThe value of the property.

See Also