@@ -77,16 +77,16 @@ methods:
7777 isDeprecated : false
7878 syntax :
7979 content : >-
80- addAsync(locationIdentifiers: LocationIdentifier[], options? : Office.AsyncContextOptions, callback?:
80+ addAsync(locationIdentifiers: LocationIdentifier[], options: Office.AsyncContextOptions, callback?:
8181 (asyncResult: Office.AsyncResult<void>) => void): void;
8282 parameters :
8383 - id : locationIdentifiers
8484 description : The locations to be added to the current list of locations.
8585 type : ' <xref uid="outlook!Office.LocationIdentifier:interface" />[]'
8686 - id : options
8787 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.
9090 type : ' <xref uid="office!Office.AsyncContextOptions:interface" />'
9191 - id : callback
9292 description : >-
@@ -97,6 +97,48 @@ methods:
9797 return :
9898 type : void
9999 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 : ' '
100142 - name : ' getAsync(options, callback)'
101143 uid : ' outlook!Office.EnhancedLocation#getAsync:member(1)'
102144 package : outlook!
@@ -147,13 +189,13 @@ methods:
147189 isDeprecated : false
148190 syntax :
149191 content : >-
150- getAsync(options? : Office.AsyncContextOptions, callback?: (asyncResult:
192+ getAsync(options: Office.AsyncContextOptions, callback?: (asyncResult:
151193 Office.AsyncResult<LocationDetails[]>) => void): void;
152194 parameters :
153195 - id : options
154196 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.
157199 type : ' <xref uid="office!Office.AsyncContextOptions:interface" />'
158200 - id : callback
159201 description : >-
@@ -165,6 +207,38 @@ methods:
165207 return :
166208 type : void
167209 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 : ' '
168242 - name : ' removeAsync(locationIdentifiers, options, callback)'
169243 uid : ' outlook!Office.EnhancedLocation#removeAsync:member(1)'
170244 package : outlook!
@@ -221,16 +295,16 @@ methods:
221295 isDeprecated : false
222296 syntax :
223297 content : >-
224- removeAsync(locationIdentifiers: LocationIdentifier[], options? : Office.AsyncContextOptions, callback?:
298+ removeAsync(locationIdentifiers: LocationIdentifier[], options: Office.AsyncContextOptions, callback?:
225299 (asyncResult: Office.AsyncResult<void>) => void): void;
226300 parameters :
227301 - id : locationIdentifiers
228302 description : The locations to be removed from the current list of locations.
229303 type : ' <xref uid="outlook!Office.LocationIdentifier:interface" />[]'
230304 - id : options
231305 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.
234308 type : ' <xref uid="office!Office.AsyncContextOptions:interface" />'
235309 - id : callback
236310 description : >-
@@ -241,3 +315,44 @@ methods:
241315 return :
242316 type : void
243317 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