@@ -77,16 +77,16 @@ methods:
77
77
isDeprecated : false
78
78
syntax :
79
79
content : >-
80
- addAsync(locationIdentifiers: LocationIdentifier[], options? : Office.AsyncContextOptions, callback?:
80
+ addAsync(locationIdentifiers: LocationIdentifier[], options: Office.AsyncContextOptions, callback?:
81
81
(asyncResult: Office.AsyncResult<void>) => void): void;
82
82
parameters :
83
83
- id : locationIdentifiers
84
84
description : The locations to be added to the current list of locations.
85
85
type : ' <xref uid="outlook!Office.LocationIdentifier:interface" />[]'
86
86
- id : options
87
87
description : >-
88
- Optional. An object literal that contains one or more of the following properties. `asyncContext`<!-- -->:
89
- Developers can provide any object they wish to access in the callback method.
88
+ An object literal that contains one or more of the following properties. `asyncContext`<!-- -->: Developers
89
+ can provide any object they wish to access in the callback method.
90
90
type : ' <xref uid="office!Office.AsyncContextOptions:interface" />'
91
91
- id : callback
92
92
description : >-
@@ -97,6 +97,48 @@ methods:
97
97
return :
98
98
type : void
99
99
description : ' '
100
+ - name : ' addAsync(locationIdentifiers, callback)'
101
+ uid : ' outlook!Office.EnhancedLocation#addAsync:member(2)'
102
+ package : outlook!
103
+ fullName : ' addAsync(locationIdentifiers, callback)'
104
+ summary : |-
105
+ Adds to the set of locations associated with the appointment.
106
+
107
+ \[ [API set: Mailbox 1.8](/office/dev/add-ins/reference/requirement-sets/outlook-api-requirement-sets) \]
108
+ remarks : >-
109
+ **[Minimum permission
110
+ level](https://docs.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions)<!-- -->**:
111
+ `ReadWriteItem`
112
+
113
+
114
+ **[Applicable Outlook
115
+ mode](https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points)<!-- -->**:
116
+ Compose
117
+
118
+
119
+ **Errors**:
120
+
121
+
122
+ - `InvalidFormatError`<!-- -->: The format of the specified data object is not valid.
123
+ isPreview : false
124
+ isDeprecated : false
125
+ syntax :
126
+ content : >-
127
+ addAsync(locationIdentifiers: LocationIdentifier[], callback?: (asyncResult: Office.AsyncResult<void>) =>
128
+ void): void;
129
+ parameters :
130
+ - id : locationIdentifiers
131
+ description : The locations to be added to the current list of locations.
132
+ type : ' <xref uid="outlook!Office.LocationIdentifier:interface" />[]'
133
+ - id : callback
134
+ description : >-
135
+ Optional. When the method completes, the function passed in the `callback` parameter is called with a single
136
+ parameter, `asyncResult`<!-- -->, which is an `Office.AsyncResult` object. Check the `status` property of
137
+ `asyncResult` to determine if the call succeeded.
138
+ type : ' (asyncResult: <xref uid="office!Office.AsyncResult:interface" /><void>) => void'
139
+ return :
140
+ type : void
141
+ description : ' '
100
142
- name : ' getAsync(options, callback)'
101
143
uid : ' outlook!Office.EnhancedLocation#getAsync:member(1)'
102
144
package : outlook!
@@ -147,13 +189,13 @@ methods:
147
189
isDeprecated : false
148
190
syntax :
149
191
content : >-
150
- getAsync(options? : Office.AsyncContextOptions, callback?: (asyncResult:
192
+ getAsync(options: Office.AsyncContextOptions, callback?: (asyncResult:
151
193
Office.AsyncResult<LocationDetails[]>) => void): void;
152
194
parameters :
153
195
- id : options
154
196
description : >-
155
- Optional. An object literal that contains one or more of the following properties. `asyncContext`<!-- -->:
156
- Developers can provide any object they wish to access in the callback method.
197
+ An object literal that contains one or more of the following properties. `asyncContext`<!-- -->: Developers
198
+ can provide any object they wish to access in the callback method.
157
199
type : ' <xref uid="office!Office.AsyncContextOptions:interface" />'
158
200
- id : callback
159
201
description : >-
@@ -165,6 +207,38 @@ methods:
165
207
return :
166
208
type : void
167
209
description : ' '
210
+ - name : getAsync(callback)
211
+ uid : ' outlook!Office.EnhancedLocation#getAsync:member(2)'
212
+ package : outlook!
213
+ fullName : getAsync(callback)
214
+ summary : |-
215
+ Gets the set of locations associated with the appointment.
216
+
217
+ \[ [API set: Mailbox 1.8](/office/dev/add-ins/reference/requirement-sets/outlook-api-requirement-sets) \]
218
+ remarks : >-
219
+ **[Minimum permission
220
+ level](https://docs.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions)<!-- -->**:
221
+ `ReadItem`
222
+
223
+
224
+ **[Applicable Outlook
225
+ mode](https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points)<!-- -->**:
226
+ Compose or Read
227
+ isPreview : false
228
+ isDeprecated : false
229
+ syntax :
230
+ content : ' getAsync(callback?: (asyncResult: Office.AsyncResult<LocationDetails[]>) => void): void;'
231
+ parameters :
232
+ - id : callback
233
+ description : >-
234
+ Optional. When the method completes, the function passed in the `callback` parameter is called with a single
235
+ parameter, `asyncResult`<!-- -->, which is an `Office.AsyncResult` object.
236
+ type : >-
237
+ (asyncResult: <xref uid="office!Office.AsyncResult:interface" /><<xref
238
+ uid="outlook!Office.LocationDetails:interface" />[]>) => void
239
+ return :
240
+ type : void
241
+ description : ' '
168
242
- name : ' removeAsync(locationIdentifiers, options, callback)'
169
243
uid : ' outlook!Office.EnhancedLocation#removeAsync:member(1)'
170
244
package : outlook!
@@ -221,16 +295,16 @@ methods:
221
295
isDeprecated : false
222
296
syntax :
223
297
content : >-
224
- removeAsync(locationIdentifiers: LocationIdentifier[], options? : Office.AsyncContextOptions, callback?:
298
+ removeAsync(locationIdentifiers: LocationIdentifier[], options: Office.AsyncContextOptions, callback?:
225
299
(asyncResult: Office.AsyncResult<void>) => void): void;
226
300
parameters :
227
301
- id : locationIdentifiers
228
302
description : The locations to be removed from the current list of locations.
229
303
type : ' <xref uid="outlook!Office.LocationIdentifier:interface" />[]'
230
304
- id : options
231
305
description : >-
232
- Optional. An object literal that contains one or more of the following properties. `asyncContext`<!-- -->:
233
- Developers can provide any object they wish to access in the callback method.
306
+ An object literal that contains one or more of the following properties. `asyncContext`<!-- -->: Developers
307
+ can provide any object they wish to access in the callback method.
234
308
type : ' <xref uid="office!Office.AsyncContextOptions:interface" />'
235
309
- id : callback
236
310
description : >-
@@ -241,3 +315,44 @@ methods:
241
315
return :
242
316
type : void
243
317
description : ' '
318
+ - name : ' removeAsync(locationIdentifiers, callback)'
319
+ uid : ' outlook!Office.EnhancedLocation#removeAsync:member(2)'
320
+ package : outlook!
321
+ fullName : ' removeAsync(locationIdentifiers, callback)'
322
+ summary : >-
323
+ Removes the set of locations associated with the appointment.
324
+
325
+
326
+ If there are multiple locations with the same name, all matching locations will be removed even if only one was
327
+ specified in `locationIdentifiers`<!-- -->.
328
+
329
+
330
+ \[ [API set: Mailbox 1.8](/office/dev/add-ins/reference/requirement-sets/outlook-api-requirement-sets) \]
331
+ remarks : >-
332
+ **[Minimum permission
333
+ level](https://docs.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions)<!-- -->**:
334
+ `ReadWriteItem`
335
+
336
+
337
+ **[Applicable Outlook
338
+ mode](https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points)<!-- -->**:
339
+ Compose
340
+ isPreview : false
341
+ isDeprecated : false
342
+ syntax :
343
+ content : >-
344
+ removeAsync(locationIdentifiers: LocationIdentifier[], callback?: (asyncResult: Office.AsyncResult<void>) =>
345
+ void): void;
346
+ parameters :
347
+ - id : locationIdentifiers
348
+ description : The locations to be removed from the current list of locations.
349
+ type : ' <xref uid="outlook!Office.LocationIdentifier:interface" />[]'
350
+ - id : callback
351
+ description : >-
352
+ Optional. When the method completes, the function passed in the `callback` parameter is called with a single
353
+ parameter, `asyncResult`<!-- -->, which is an `Office.AsyncResult` object. Check the `status` property of
354
+ `asyncResult` to determine if the call succeeded.
355
+ type : ' (asyncResult: <xref uid="office!Office.AsyncResult:interface" /><void>) => void'
356
+ return :
357
+ type : void
358
+ description : ' '
0 commit comments