Aspose::Cells::Metas::SensitivityLabelCollection::Add method

SensitivityLabelCollection::Add(const U16String&, bool, SensitivityLabelAssignmentType, const U16String&, SensitivityLabelMarkType) method

Adds a sensitivity label.

int32_t Aspose::Cells::Metas::SensitivityLabelCollection::Add(const U16String &id, bool isEnabled, SensitivityLabelAssignmentType methodType, const U16String &siteId, SensitivityLabelMarkType markType)
ParameterTypeDescription
idconst U16String&The id of the label.
isEnabledboolIndicates whether this sensitivity label is enabled.
methodTypeSensitivityLabelAssignmentTypeThe assignment method type.
siteIdconst U16String&The id of the site.
markTypeSensitivityLabelMarkTypeThe mark type.

See Also

SensitivityLabelCollection::Add(const char16_t*, bool, SensitivityLabelAssignmentType, const char16_t*, SensitivityLabelMarkType) method

Adds a sensitivity label.

int32_t Aspose::Cells::Metas::SensitivityLabelCollection::Add(const char16_t *id, bool isEnabled, SensitivityLabelAssignmentType methodType, const char16_t *siteId, SensitivityLabelMarkType markType)
ParameterTypeDescription
idconst char16_t*The id of the label.
isEnabledboolIndicates whether this sensitivity label is enabled.
methodTypeSensitivityLabelAssignmentTypeThe assignment method type.
siteIdconst char16_t*The id of the site.
markTypeSensitivityLabelMarkTypeThe mark type.

See Also