Class SensitivityLabelCollection
Represents the sensitivity label collection used by the presentation model.
Implements
Inherited Members
Namespace: DRIT.Presentation.Office
Assembly: DRIT.Presentation.dll
Syntax
public sealed class SensitivityLabelCollection : List<SensitivityLabel>, IList<SensitivityLabel>, ICollection<SensitivityLabel>, IList, ICollection, IReadOnlyList<SensitivityLabel>, IReadOnlyCollection<SensitivityLabel>, IEnumerable<SensitivityLabel>, IEnumerable
Methods
Add(string, Guid, bool, SensitivityLabelAssignmentType)
Adds the value to this sensitivity label collection.
Declaration
public SensitivityLabel Add(string labelId, Guid siteId, bool isEnabled, SensitivityLabelAssignmentType assignmentType)
Parameters
| Type | Name | Description |
|---|---|---|
| string | labelId | |
| Guid | siteId | |
| bool | isEnabled | |
| SensitivityLabelAssignmentType | assignmentType |
Returns
| Type | Description |
|---|---|
| SensitivityLabel | The newly added value. |