-
Notifications
You must be signed in to change notification settings - Fork 61
/
office.locationdetails.yml
79 lines (67 loc) · 2.3 KB
/
office.locationdetails.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
### YamlMime:TSType
name: Office.LocationDetails
uid: 'outlook!Office.LocationDetails:interface'
package: outlook!
fullName: Office.LocationDetails
summary: Represents a location. Read-only.
remarks: >-
\[ [API set: Mailbox 1.8](/javascript/api/requirement-sets/outlook/outlook-api-requirement-sets) \]
**[Minimum permission
level](https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions)<!-- -->**:
**read item**
**[Applicable Outlook
mode](https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points)<!-- -->**:
Compose or Read
#### Examples
```TypeScript
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);
}
});
}
```
isPreview: false
isDeprecated: false
type: interface
properties:
- name: displayName
uid: 'outlook!Office.LocationDetails#displayName:member'
package: outlook!
fullName: displayName
summary: The location's display name.
remarks: ''
isPreview: false
isDeprecated: false
syntax:
content: 'displayName: string;'
return:
type: string
- name: emailAddress
uid: 'outlook!Office.LocationDetails#emailAddress:member'
package: outlook!
fullName: emailAddress
summary: The email address associated with the location. Only locations of type `Room` have an email address.
remarks: ''
isPreview: false
isDeprecated: false
syntax:
content: 'emailAddress: string;'
return:
type: string
- name: locationIdentifier
uid: 'outlook!Office.LocationDetails#locationIdentifier:member'
package: outlook!
fullName: locationIdentifier
summary: The `LocationIdentifier` of the location.
remarks: ''
isPreview: false
isDeprecated: false
syntax:
content: 'locationIdentifier: LocationIdentifier;'
return:
type: '<xref uid="outlook!Office.LocationIdentifier:interface" />'