Office.SensitivityLabelChangedEventArgs interface

Provides the change status of the sensitivity label applied to a message or appointment in compose mode. This information is provided when the Office.EventType.SensitivityLabelChanged event is raised.

Remarks

[ API set: Mailbox 1.13 ]

Important: To use the sensitivity label feature in your add-in, you must have a Microsoft 365 E5 subscription.

To learn more about how to manage sensitivity labels in your add-in, see Manage the sensitivity label of your message or appointment in compose mode.

Examples

// Handles a change to an item's sensitivity label.
function onSensitivityLabelChangedHandler(event) {
    console.log(`Event: ${event.type}`);

    // Perform operations based on the event.
}

Properties

type

The type of event that was raised. For details, refer to Office.EventType.

Property Details

type

The type of event that was raised. For details, refer to Office.EventType.

type: "olkSensitivityLabelChanged";

Property Value

"olkSensitivityLabelChanged"

Remarks

[ API set: Mailbox 1.13 ]