SensitivityLabelCollection

SensitivityLabelCollection class

Represents the list of sensitivity labels.

class SensitivityLabelCollection;

Constructors

NameDescription
constructor()Default Constructor.

Methods

MethodDescription
add(string, boolean, SensitivityLabelAssignmentType, string, SensitivityLabelMarkType)Adds a sensitivity label.
getCount()Gets the number of elements contained in.
isNull()Checks whether the implementation object is null.

constructor()

Default Constructor.

constructor();

add(string, boolean, SensitivityLabelAssignmentType, string, SensitivityLabelMarkType)

Adds a sensitivity label.

add(id: string, isEnabled: boolean, methodType: SensitivityLabelAssignmentType, siteId: string, markType: SensitivityLabelMarkType) : number;

Parameters:

ParameterTypeDescription
idstringThe id of the label.
isEnabledbooleanIndicates whether this sensitivity label is enabled.
methodTypeSensitivityLabelAssignmentTypeThe assignment method type.
siteIdstringThe id of the site.
markTypeSensitivityLabelMarkTypeThe mark type.

getCount()

Gets the number of elements contained in.

getCount() : number;

isNull()

Checks whether the implementation object is null.

isNull() : boolean;