add method
Contents
[
Hide
]add
Creates a new custom document property of the PropertyType.String data type.
Returns
The newly created property object.
def add(self, name, value):
...
Parameter | Type | Description |
---|---|---|
name | str | The name of the property. |
value | str | The 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):
...
Parameter | Type | Description |
---|---|---|
name | str | The name of the property. |
value | int | The 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):
...
Parameter | Type | Description |
---|---|---|
name | str | The name of the property. |
value | DateTime | The 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):
...
Parameter | Type | Description |
---|---|---|
name | str | The name of the property. |
value | bool | The 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):
...
Parameter | Type | Description |
---|---|---|
name | str | The name of the property. |
value | float | The value of the property. |