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


Adds a sensitivity label.

```cpp
int32_t Aspose::Cells::Metas::SensitivityLabelCollection::Add(const U16String &id, bool isEnabled, SensitivityLabelAssignmentType methodType, const U16String &siteId, SensitivityLabelMarkType markType)
```


| Parameter | Type | Description |
| --- | --- | --- |
| id | const U16String\& | The id of the label. |
| isEnabled | bool | Indicates whether this sensitivity label is enabled. |
| methodType | SensitivityLabelAssignmentType | The assignment method type. |
| siteId | const U16String\& | The id of the site. |
| markType | SensitivityLabelMarkType | The mark type. |

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [U16String](../../../aspose.cells/u16string/)
* Enum [SensitivityLabelAssignmentType](../../sensitivitylabelassignmenttype/)
* Enum [SensitivityLabelMarkType](../../sensitivitylabelmarktype/)
* Class [SensitivityLabelCollection](../)
* Namespace [Aspose::Cells::Metas](../../)
* Library [Aspose.Cells for C++](../../../)
## SensitivityLabelCollection::Add(const char16_t*, bool, SensitivityLabelAssignmentType, const char16_t*, SensitivityLabelMarkType) method


Adds a sensitivity label.

```cpp
int32_t Aspose::Cells::Metas::SensitivityLabelCollection::Add(const char16_t *id, bool isEnabled, SensitivityLabelAssignmentType methodType, const char16_t *siteId, SensitivityLabelMarkType markType)
```


| Parameter | Type | Description |
| --- | --- | --- |
| id | const char16_t* | The id of the label. |
| isEnabled | bool | Indicates whether this sensitivity label is enabled. |
| methodType | SensitivityLabelAssignmentType | The assignment method type. |
| siteId | const char16_t* | The id of the site. |
| markType | SensitivityLabelMarkType | The mark type. |

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Enum [SensitivityLabelAssignmentType](../../sensitivitylabelassignmenttype/)
* Enum [SensitivityLabelMarkType](../../sensitivitylabelmarktype/)
* Class [SensitivityLabelCollection](../)
* Namespace [Aspose::Cells::Metas](../../)
* Library [Aspose.Cells for C++](../../../)
