SensitivityLabelCollection

SensitivityLabelCollection class

Represents the list of sensitivity labels.

class SensitivityLabelCollection;

Constructors

ConstructorDescription
constructor()Default Constructor.

Methods

MethodDescription
add(string, boolean, SensitivityLabelAssignmentType, string, SensitivityLabelMarkType)Adds a sensitivity label.
getCount()@deprecated. Please use the ‘count’ property instead. 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()

@deprecated. Please use the ‘count’ property instead. Gets the number of elements contained in.

getCount() : number;

isNull()

Checks whether the implementation object is null.

isNull() : boolean;