Add()

SensitivityLabelCollection::Add(System::String, System::Guid, bool, SensitivityLabelAssignmentType) method

Adds the sensitivity label at the end of the collection.

System::SharedPtr<ISensitivityLabel> Aspose::Slides::SensitivityLabelCollection::Add(System::String id, System::Guid siteId, bool isEnabled, SensitivityLabelAssignmentType methodType) override

Arguments

ParameterTypeDescription
idSystem::StringThe id of sensitivity label.
siteIdSystem::GuidThe Azure Active Directory (Azure AD) site identifier.
isEnabledboolFlag indicates whether the sensitivity label is enabled.
methodTypeSensitivityLabelAssignmentTypeThe assignment method for the sensitivity label.

SensitivityLabelCollection::Add(System::SharedPtr<ISensitivityLabel>) method

Adds a SensitivityLabel to the collection.

int32_t Aspose::Slides::SensitivityLabelCollection::Add(System::SharedPtr<ISensitivityLabel> label) override

Arguments

ParameterTypeDescription
labelSystem::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