Add
Contents
[
Hide
]Add(string, Guid, bool, SensitivityLabelAssignmentType)
Adds the sensitivity label at the end of the collection.
public ISensitivityLabel Add(string id, Guid siteId, bool isEnabled,
SensitivityLabelAssignmentType methodType)
| Parameter | Type | Description |
|---|---|---|
| id | String | The id of sensitivity label. |
| siteId | Guid | The Azure Active Directory (Azure AD) site identifier. |
| isEnabled | Boolean | Flag indicates whether the sensitivity label is enabled. |
| methodType | SensitivityLabelAssignmentType | The assignment method for the sensitivity label. |
See Also
- interface ISensitivityLabel
- enum SensitivityLabelAssignmentType
- interface ISensitivityLabelCollection
- namespace Aspose.Slides
- assembly Aspose.Slides
Add(ISensitivityLabel)
Adds a SensitivityLabel to the collection.
public int Add(ISensitivityLabel label)
| Parameter | Type | Description |
|---|---|---|
| label | ISensitivityLabel | The SensitivityLabel object to be added at the end of the collection. |
Return Value
The index at which the SensitivityLabel was added.
Exceptions
| exception | condition |
|---|---|
| ArgumentException | Thrown when the sensitivity label with the same Id has already been added. |
See Also
- interface ISensitivityLabel
- interface ISensitivityLabelCollection
- namespace Aspose.Slides
- assembly Aspose.Slides