## SensitivityLabel class


Represents the sensitivity label.

```cpp
class SensitivityLabel
```

## Methods

| Method | Description |
| --- | --- |
| [GetAssignmentType()](./getassignmenttype/) | Gets and sets the assignment method for the sensitivity label. |
| [GetContentMarkType()](./getcontentmarktype/) | Gets and sets the types of content marking that ought to be applied to a file. |
| [GetId()](./getid/) | Gets and sets the id of sensitivity label. |
| [GetSiteId()](./getsiteid/) | Represents the Azure Active Directory (Azure AD) site identifier corresponding to the sensitivity label policy which describes the sensitivity label. |
| [IsEnabled()](./isenabled/) | Indicates whether the sensitivity label is enabled. |
| [IsNull()](./isnull/) const | Checks whether the implementation object is nullptr. |
| [IsRemoved()](./isremoved/) | Indicates whether the sensitivity label was removed. |
| explicit [operator bool()](./operator_bool/) const | operator bool() |
| [operator=(const SensitivityLabel\& src)](./operator_asm/) | operator= |
| [SensitivityLabel(SensitivityLabel_Impl* impl)](./sensitivitylabel/) | Constructs from an implementation object. |
| [SensitivityLabel(const SensitivityLabel\& src)](./sensitivitylabel/) | Copy constructor. |
| [SetAssignmentType(SensitivityLabelAssignmentType value)](./setassignmenttype/) | Gets and sets the assignment method for the sensitivity label. |
| [SetContentMarkType(SensitivityLabelMarkType value)](./setcontentmarktype/) | Gets and sets the types of content marking that ought to be applied to a file. |
| [SetId(const U16String\& value)](./setid/) | Gets and sets the id of sensitivity label. |
| [SetId(const char16_t* value)](./setid/) | Gets and sets the id of sensitivity label. |
| [SetIsEnabled(bool value)](./setisenabled/) | Indicates whether the sensitivity label is enabled. |
| [SetIsRemoved(bool value)](./setisremoved/) | Indicates whether the sensitivity label was removed. |
| [SetSiteId(const U16String\& value)](./setsiteid/) | Represents the Azure Active Directory (Azure AD) site identifier corresponding to the sensitivity label policy which describes the sensitivity label. |
| [SetSiteId(const char16_t* value)](./setsiteid/) | Represents the Azure Active Directory (Azure AD) site identifier corresponding to the sensitivity label policy which describes the sensitivity label. |
| [~SensitivityLabel()](./~sensitivitylabel/) | Destructor. |
## Fields

| Field | Description |
| --- | --- |
| [_impl](./_impl/) | The implementation object. |
## See Also

* Namespace [Aspose::Cells::Metas](../)
* Library [Aspose.Cells for C++](../../)
