add method
add
Adds a SensitivityLabel to the collection.
Returns
The index at which the SensitivityLabel was added.
def add(self, label):
...
| Parameter | Type | Description |
|---|---|---|
| label | ISensitivityLabel | The SensitivityLabel object to be added at the end of the collection. |
Exceptions
| Exception | Description |
|---|---|
| RuntimeError(Proxy error(ArgumentException)) | Thrown when the sensitivity label with the same Id has already been added. |
add
def add(self, id, site_id, is_enabled, method_type):
...
| Parameter | Type | Description |
|---|---|---|
| id | str | |
| site_id | Guid | |
| is_enabled | bool | |
| method_type | SensitivityLabelAssignmentType |
See Also
- class
ISensitivityLabel - enumeration
SensitivityLabelAssignmentType - class
SensitivityLabelCollection - module
aspose.slides - library
Aspose.Slides