Add()

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

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.

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

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