Office.LocationDetails interface
Represents a ___location. Read-only.
Remarks
Minimum permission level: read item
Applicable Outlook mode: Compose or Read
Examples
Office.context.mailbox.item.enhancedLocation.getAsync(callbackFunction);
function callbackFunction(asyncResult) {
asyncResult.value.forEach(function (place) {
console.log("Display name: " + place.displayName);
console.log("Type: " + place.locationIdentifier.type);
if (place.locationIdentifier.type === Office.MailboxEnums.LocationType.Room) {
console.log("Email address: " + place.emailAddress);
}
});
}
Properties
display |
The ___location's display name. |
email |
The email address associated with the ___location. Only locations of type |
___location |
The |
Property Details
displayName
The ___location's display name.
displayName: string;
Property Value
string
emailAddress
The email address associated with the ___location. Only locations of type Room
have an email address.
emailAddress: string;
Property Value
string
___locationIdentifier
The LocationIdentifier
of the ___location.
locationIdentifier: LocationIdentifier;