Add()
Contents
[
Hide
]ISensitivityLabelCollection::Add(System::String, System::Guid, bool, SensitivityLabelAssignmentType) method
Adds the sensitivity label at the end of the collection.
virtual System::SharedPtr<ISensitivityLabel> Aspose::Slides::ISensitivityLabelCollection::Add(System::String id, System::Guid siteId, bool isEnabled, SensitivityLabelAssignmentType methodType)=0
Arguments
| Parameter | Type | Description |
|---|---|---|
| id | System::String | The id of sensitivity label. |
| siteId | System::Guid | The Azure Active Directory (Azure AD) site identifier. |
| isEnabled | bool | Flag indicates whether the sensitivity label is enabled. |
| methodType | SensitivityLabelAssignmentType | The assignment method for the sensitivity label. |
ISensitivityLabelCollection::Add(System::SharedPtr<ISensitivityLabel>) method
Adds a SensitivityLabel to the collection.
virtual int32_t Aspose::Slides::ISensitivityLabelCollection::Add(System::SharedPtr<ISensitivityLabel> label)=0
Arguments
| Parameter | Type | Description |
|---|---|---|
| label | System::SharedPtr<ISensitivityLabel> | The SensitivityLabel object to be added at the end of the collection. |
Return Value
The index at which the SensitivityLabel was added.
See Also
- Enum SensitivityLabelAssignmentType
- Typedef SharedPtr
- Class ISensitivityLabel
- Class String
- Class Guid
- Class ISensitivityLabelCollection
- Namespace Aspose::Slides
- Library Aspose.Slides