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
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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Office Add-ins