@types/office-js 1.0.266 → 1.0.267

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. office-js/README.md +1 -1
  2. office-js/index.d.ts +127 -127
  3. office-js/package.json +2 -2
office-js/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for Office.js (https://github.com/OfficeD
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Tue, 28 Jun 2022 23:32:26 GMT
11
+ * Last updated: Thu, 14 Jul 2022 22:02:26 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
14
14
 
office-js/index.d.ts CHANGED
@@ -274,8 +274,8 @@ declare namespace Office {
274
274
  *
275
275
  * **Support details**
276
276
  *
277
- * A capital Y in the following matrix indicates that this method is supported in the corresponding Office host application.
278
- * An empty cell indicates that the Office host application doesn't support this method.
277
+ * A capital Y in the following matrix indicates that this function is supported in the corresponding Office host application.
278
+ * An empty cell indicates that the Office host application doesn't support this function.
279
279
  *
280
280
  * For more information about Office host application and server requirements, see
281
281
  * {@link https://docs.microsoft.com/office/dev/add-ins/concepts/requirements-for-running-office-add-ins | Requirements for running Office Add-ins}.
@@ -299,7 +299,7 @@ declare namespace Office {
299
299
  * also be used outside the add-in. In that case, once Office.js determines that it is running outside of an Office host application, it will call
300
300
  * the callback and resolve the promise with "null" for both the host and platform.
301
301
  *
302
- * @param callback - An optional callback method, that will receive the host and platform info.
302
+ * @param callback - An optional callback function, that will receive the host and platform info.
303
303
  * Alternatively, rather than use a callback, an add-in may simply wait for the Promise returned by the function to resolve.
304
304
  * @returns A Promise that contains the host and platform info, once initialization is completed.
305
305
  */
@@ -311,8 +311,8 @@ declare namespace Office {
311
311
  *
312
312
  * **Support details**
313
313
  *
314
- * A capital Y in the following matrix indicates that this method is supported in the corresponding Office host application.
315
- * An empty cell indicates that the Office host application doesn't support this method.
314
+ * A capital Y in the following matrix indicates that this function is supported in the corresponding Office host application.
315
+ * An empty cell indicates that the Office host application doesn't support this function.
316
316
  *
317
317
  * For more information about Office host application and server requirements, see
318
318
  * {@link https://docs.microsoft.com/office/dev/add-ins/concepts/requirements-for-running-office-add-ins | Requirements for running Office Add-ins}.
@@ -1187,7 +1187,7 @@ declare namespace Office {
1187
1187
  *
1188
1188
  * @param startAddress - Accepts the initial full HTTPS URL that opens in the dialog. Relative URLs must not be used.
1189
1189
  * @param options - Optional. Accepts an {@link Office.DialogOptions} object to define dialog display.
1190
- * @param callback - Optional. Accepts a callback method to handle the dialog creation attempt. If successful, the AsyncResult.value is a Dialog object.
1190
+ * @param callback - Optional. Accepts a callback function to handle the dialog creation attempt. If successful, the AsyncResult.value is a Dialog object.
1191
1191
  */
1192
1192
  displayDialogAsync(startAddress: string, options?: DialogOptions, callback?: (result: AsyncResult<Dialog>) => void): void;
1193
1193
  /**
@@ -1287,7 +1287,7 @@ declare namespace Office {
1287
1287
  * </table>
1288
1288
  *
1289
1289
  * @param startAddress - Accepts the initial full HTTPS URL that opens in the dialog. Relative URLs must not be used.
1290
- * @param callback - Optional. Accepts a callback method to handle the dialog creation attempt. If successful, the AsyncResult.value is a Dialog object.
1290
+ * @param callback - Optional. Accepts a callback function to handle the dialog creation attempt. If successful, the AsyncResult.value is a Dialog object.
1291
1291
  */
1292
1292
  displayDialogAsync(startAddress: string, callback?: (result: AsyncResult<Dialog>) => void): void;
1293
1293
  /**
@@ -1420,7 +1420,7 @@ declare namespace Office {
1420
1420
  * Accounts and Microsoft Accounts. Microsoft Azure returns tokens intended for both user account types to access resources in the Microsoft Graph.
1421
1421
  *
1422
1422
  * @param options - Optional. Accepts an `AuthOptions` object to define sign-on behaviors.
1423
- * @param callback - Optional. Accepts a callback method that can parse the token for the user's ID or use the token in the "on behalf of" flow to get access to Microsoft Graph.
1423
+ * @param callback - Optional. Accepts a callback function that can parse the token for the user's ID or use the token in the "on behalf of" flow to get access to Microsoft Graph.
1424
1424
  * If `AsyncResult.status` is "succeeded", then `AsyncResult.value` is the raw AAD v. 2.0-formatted access token.
1425
1425
  */
1426
1426
  getAccessTokenAsync(options?: AuthOptions, callback?: (result: AsyncResult<string>) => void): void;
@@ -1444,7 +1444,7 @@ declare namespace Office {
1444
1444
  * This API requires a single sign-on configuration that bridges the add-in to an Azure application. Office users sign in with Organizational
1445
1445
  * Accounts and Microsoft Accounts. Microsoft Azure returns tokens intended for both user account types to access resources in the Microsoft Graph.
1446
1446
  *
1447
- * @param callback - Optional. Accepts a callback method that can parse the token for the user's ID or use the token in the "on behalf of" flow to get access to Microsoft Graph.
1447
+ * @param callback - Optional. Accepts a callback function that can parse the token for the user's ID or use the token in the "on behalf of" flow to get access to Microsoft Graph.
1448
1448
  * If `AsyncResult.status` is "succeeded", then `AsyncResult.value` is the raw AAD v. 2.0-formatted access token.
1449
1449
  */
1450
1450
  getAccessTokenAsync(callback?: (result: AsyncResult<string>) => void): void;
@@ -1968,7 +1968,7 @@ declare namespace Office {
1968
1968
  }
1969
1969
 
1970
1970
  /**
1971
- * Returns a promise of an object described in the expression. Callback is invoked only if method fails.
1971
+ * Returns a promise of an object described in the expression. Callback is invoked only if the function fails.
1972
1972
  *
1973
1973
  * @param expression The object to be retrieved. Example "bindings#BindingName", retrieves a binding promise for a binding named 'BindingName'
1974
1974
  * @param callback Optional. A function that is invoked when the callback returns, whose only parameter is of type {@link Office.AsyncResult}.
@@ -1977,8 +1977,8 @@ declare namespace Office {
1977
1977
  *
1978
1978
  * **Support details**
1979
1979
  *
1980
- * A capital Y in the following matrix indicates that this method is supported in the corresponding Office host application.
1981
- * An empty cell indicates that the Office host application doesn't support this method.
1980
+ * A capital Y in the following matrix indicates that this function is supported in the corresponding Office host application.
1981
+ * An empty cell indicates that the Office host application doesn't support this function.
1982
1982
  *
1983
1983
  * For more information about Office host application and server requirements, see
1984
1984
  * {@link https://docs.microsoft.com/office/dev/add-ins/concepts/requirements-for-running-office-add-ins | Requirements for running Office Add-ins}.
@@ -9735,7 +9735,7 @@ declare namespace Office {
9735
9735
  * @param uri - The URI that provides the location of the file to attach to the message or appointment. The maximum length is 2048 characters.
9736
9736
  * @param attachmentName - The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters.
9737
9737
  * @param options - An object literal that contains one or more of the following properties.
9738
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
9738
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
9739
9739
  * `isInline`: If true, indicates that the attachment will be shown inline in the message body,
9740
9740
  * and should not be displayed in the attachment list.
9741
9741
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
@@ -9809,7 +9809,7 @@ declare namespace Office {
9809
9809
  * @param base64File - The base64 encoded content of an image or file to be added to an email or event.
9810
9810
  * @param attachmentName - The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters.
9811
9811
  * @param options - An object literal that contains one or more of the following properties.
9812
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
9812
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
9813
9813
  * `isInline`: If true, indicates that the attachment will be shown inline in the message body
9814
9814
  * and should not be displayed in the attachment list.
9815
9815
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
@@ -9871,7 +9871,7 @@ declare namespace Office {
9871
9871
  * @param handler - The function to handle the event. The function must accept a single parameter, which is an object literal.
9872
9872
  * The `type` property on the parameter will match the `eventType` parameter passed to `addHandlerAsync`.
9873
9873
  * @param options - An object literal that contains one or more of the following properties.
9874
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
9874
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
9875
9875
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
9876
9876
  * `asyncResult`, which is an `Office.AsyncResult` object.
9877
9877
  */
@@ -9900,9 +9900,9 @@ declare namespace Office {
9900
9900
  * Adds an Exchange item, such as a message, as an attachment to the message or appointment.
9901
9901
  *
9902
9902
  * The `addItemAttachmentAsync` method attaches the item with the specified Exchange identifier to the item in the compose form.
9903
- * If you specify a callback method, the method is called with one parameter, `asyncResult`, which contains either the attachment identifier or
9903
+ * If you specify a callback function, the method is called with one parameter, `asyncResult`, which contains either the attachment identifier or
9904
9904
  * a code that indicates any error that occurred while attaching the item.
9905
- * You can use the `options` parameter to pass state information to the callback method, if needed.
9905
+ * You can use the `options` parameter to pass state information to the callback function, if needed.
9906
9906
  *
9907
9907
  * You can subsequently use the identifier with the `removeAttachmentAsync` method to remove the attachment in the same session.
9908
9908
  *
@@ -9923,7 +9923,7 @@ declare namespace Office {
9923
9923
  * @param itemId - The Exchange identifier of the item to attach. The maximum length is 100 characters.
9924
9924
  * @param attachmentName - The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters.
9925
9925
  * @param options - An object literal that contains one or more of the following properties.
9926
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
9926
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
9927
9927
  * @param callback - Optional. When the method completes, the function passed in the callback parameter is called with a single parameter of
9928
9928
  * type `Office.AsyncResult`.
9929
9929
  * On success, the attachment identifier will be provided in the `asyncResult.value` property.
@@ -9935,9 +9935,9 @@ declare namespace Office {
9935
9935
  * Adds an Exchange item, such as a message, as an attachment to the message or appointment.
9936
9936
  *
9937
9937
  * The `addItemAttachmentAsync` method attaches the item with the specified Exchange identifier to the item in the compose form.
9938
- * If you specify a callback method, the method is called with one parameter, `asyncResult`, which contains either the attachment identifier or
9938
+ * If you specify a callback function, the method is called with one parameter, `asyncResult`, which contains either the attachment identifier or
9939
9939
  * a code that indicates any error that occurred while attaching the item.
9940
- * You can use the `options` parameter to pass state information to the callback method, if needed.
9940
+ * You can use the `options` parameter to pass state information to the callback function, if needed.
9941
9941
  *
9942
9942
  * You can subsequently use the identifier with the `removeAttachmentAsync` method to remove the attachment in the same session.
9943
9943
  *
@@ -9999,7 +9999,7 @@ declare namespace Office {
9999
9999
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Organizer
10000
10000
  *
10001
10001
  * @param options - An object literal that contains one or more of the following properties.
10002
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
10002
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
10003
10003
  * @param callback - Optional. When the method completes, the function passed in the callback parameter is called with a single parameter,
10004
10004
  * `asyncResult`, which is an `Office.AsyncResult` object.
10005
10005
  */
@@ -10048,7 +10048,7 @@ declare namespace Office {
10048
10048
  *
10049
10049
  * @param attachmentId - The identifier of the attachment you want to get.
10050
10050
  * @param options - An object literal that contains one or more of the following properties.
10051
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
10051
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
10052
10052
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
10053
10053
  * `asyncResult`, which is an `Office.AsyncResult` object. If the call fails, the `asyncResult.error` property will contain
10054
10054
  * an error code with the reason for the failure.
@@ -10094,7 +10094,7 @@ declare namespace Office {
10094
10094
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Organizer
10095
10095
  *
10096
10096
  * @param options - An object literal that contains one or more of the following properties.
10097
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
10097
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
10098
10098
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
10099
10099
  * type `Office.AsyncResult`. If the call fails, the `asyncResult.error` property will contain an error code with the reason for
10100
10100
  * the failure.
@@ -10118,7 +10118,7 @@ declare namespace Office {
10118
10118
  /**
10119
10119
  * Asynchronously gets the ID of a saved item.
10120
10120
  *
10121
- * When invoked, this method returns the item ID via the callback method.
10121
+ * When invoked, this method returns the item ID via the callback function.
10122
10122
  *
10123
10123
  * **Note**: If your add-in calls `getItemIdAsync` on an item in compose mode (e.g., to get an `itemId` to use with EWS or the REST API),
10124
10124
  * be aware that when Outlook is in cached mode, it may take some time before the item is synced to the server.
@@ -10136,7 +10136,7 @@ declare namespace Office {
10136
10136
  * - `ItemNotSaved`: The id can't be retrieved until the item is saved.
10137
10137
  *
10138
10138
  * @param options - An object literal that contains one or more of the following properties.
10139
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
10139
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
10140
10140
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter
10141
10141
  * of type `Office.AsyncResult`.
10142
10142
  */
@@ -10144,7 +10144,7 @@ declare namespace Office {
10144
10144
  /**
10145
10145
  * Asynchronously gets the ID of a saved item.
10146
10146
  *
10147
- * When invoked, this method returns the item ID via the callback method.
10147
+ * When invoked, this method returns the item ID via the callback function.
10148
10148
  *
10149
10149
  * **Note**: If your add-in calls `getItemIdAsync` on an item in compose mode (e.g., to get an `itemId` to use with EWS or the REST API),
10150
10150
  * be aware that when Outlook is in cached mode, it may take some time before the item is synced to the server.
@@ -10171,7 +10171,7 @@ declare namespace Office {
10171
10171
  * If there is no selection but the cursor is in the body or subject, the method returns an empty string for the selected data.
10172
10172
  * If a field other than the body or subject is selected, the method returns the `InvalidSelection` error.
10173
10173
  *
10174
- * To access the selected data from the callback method, call `asyncResult.value.data`.
10174
+ * To access the selected data from the callback function, call `asyncResult.value.data`.
10175
10175
  * To access the `source` property that the selection comes from, call `asyncResult.value.sourceProperty`, which will be either `body` or `subject`.
10176
10176
  *
10177
10177
  * @returns
@@ -10187,7 +10187,7 @@ declare namespace Office {
10187
10187
  * @param coercionType - Requests a format for the data. If `Text`, the method returns the plain text as a string, removing any HTML tags present.
10188
10188
  * If `HTML`, the method returns the selected text, whether it is plaintext or HTML.
10189
10189
  * @param options - An object literal that contains one or more of the following properties.
10190
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
10190
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
10191
10191
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter
10192
10192
  * of type `Office.AsyncResult`.
10193
10193
  */
@@ -10198,7 +10198,7 @@ declare namespace Office {
10198
10198
  * If there is no selection but the cursor is in the body or subject, the method returns an empty string for the selected data.
10199
10199
  * If a field other than the body or subject is selected, the method returns the `InvalidSelection` error.
10200
10200
  *
10201
- * To access the selected data from the callback method, call `asyncResult.value.data`.
10201
+ * To access the selected data from the callback function, call `asyncResult.value.data`.
10202
10202
  * To access the `source` property that the selection comes from, call `asyncResult.value.sourceProperty`, which will be either `body` or `subject`.
10203
10203
  *
10204
10204
  * @returns
@@ -10233,7 +10233,7 @@ declare namespace Office {
10233
10233
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Organizer
10234
10234
  *
10235
10235
  * @param options - An object literal that contains one or more of the following properties.
10236
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
10236
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
10237
10237
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
10238
10238
  * type `Office.AsyncResult`.
10239
10239
  * The `value` property of the result is the properties of the shared item.
@@ -10275,7 +10275,7 @@ declare namespace Office {
10275
10275
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Organizer
10276
10276
  *
10277
10277
  * @param options - An object literal that contains one or more of the following properties.
10278
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
10278
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
10279
10279
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
10280
10280
  * type `Office.AsyncResult`.
10281
10281
  */
@@ -10345,7 +10345,7 @@ declare namespace Office {
10345
10345
  * @param attachmentId - The identifier of the attachment to remove. The maximum string length of the `attachmentId`
10346
10346
  * is 200 characters in Outlook on the web and on Windows.
10347
10347
  * @param options - An object literal that contains one or more of the following properties.
10348
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
10348
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
10349
10349
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
10350
10350
  * type `Office.AsyncResult`.
10351
10351
  * If removing the attachment fails, the `asyncResult.error` property will contain an error code with the reason for the failure.
@@ -10393,7 +10393,7 @@ declare namespace Office {
10393
10393
  *
10394
10394
  * @param eventType - The event that should revoke the handler.
10395
10395
  * @param options - An object literal that contains one or more of the following properties.
10396
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
10396
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
10397
10397
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
10398
10398
  * `asyncResult`, which is an `Office.AsyncResult` object.
10399
10399
  */
@@ -10419,7 +10419,7 @@ declare namespace Office {
10419
10419
  /**
10420
10420
  * Asynchronously saves an item.
10421
10421
  *
10422
- * When invoked, this method saves the current message as a draft and returns the item ID via the callback method.
10422
+ * When invoked, this method saves the current message as a draft and returns the item ID via the callback function.
10423
10423
  * In Outlook on the web or Outlook in online mode, the item is saved to the server.
10424
10424
  * In Outlook in cached mode, the item is saved to the local cache.
10425
10425
  *
@@ -10450,7 +10450,7 @@ declare namespace Office {
10450
10450
  * - `InvalidAttachmentId`: The attachment identifier does not exist.
10451
10451
  *
10452
10452
  * @param options - An object literal that contains one or more of the following properties.
10453
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
10453
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
10454
10454
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
10455
10455
  * type `Office.AsyncResult`.
10456
10456
  */
@@ -10458,7 +10458,7 @@ declare namespace Office {
10458
10458
  /**
10459
10459
  * Asynchronously saves an item.
10460
10460
  *
10461
- * When invoked, this method saves the current message as a draft and returns the item ID via the callback method.
10461
+ * When invoked, this method saves the current message as a draft and returns the item ID via the callback function.
10462
10462
  * In Outlook on the web or Outlook in online mode, the item is saved to the server. In Outlook in cached mode, the item is saved to the local cache.
10463
10463
  *
10464
10464
  * Since appointments have no draft state, if `saveAsync` is called on an appointment in compose mode, the item will be saved as a normal
@@ -10512,7 +10512,7 @@ declare namespace Office {
10512
10512
  * @param data - The data to be inserted. Data is not to exceed 1,000,000 characters.
10513
10513
  * If more than 1,000,000 characters are passed in, an `ArgumentOutOfRange` exception is thrown.
10514
10514
  * @param options - An object literal that contains one or more of the following properties.
10515
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
10515
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
10516
10516
  * `coercionType`: If text, the current style is applied in Outlook on the web and Windows.
10517
10517
  * If the field is an HTML editor, only the text data is inserted, even if the data is HTML.
10518
10518
  * If html and the field supports HTML (the subject doesn't), the current style is applied in Outlook on the web and the
@@ -11060,7 +11060,7 @@ declare namespace Office {
11060
11060
  * @param handler - The function to handle the event. The function must accept a single parameter, which is an object literal.
11061
11061
  * The `type` property on the parameter will match the `eventType` parameter passed to `addHandlerAsync`.
11062
11062
  * @param options - An object literal that contains one or more of the following properties.
11063
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
11063
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
11064
11064
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
11065
11065
  * `asyncResult`, which is an `Office.AsyncResult` object.
11066
11066
  */
@@ -11131,7 +11131,7 @@ declare namespace Office {
11131
11131
  * @param formData - A string that contains text and HTML and that represents the body of the reply form. The string is limited to 32 KB
11132
11132
  * OR a {@link Office.ReplyFormData | ReplyFormData} object that contains body or attachment data and a callback function.
11133
11133
  * @param options - An object literal that contains one or more of the following properties.
11134
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
11134
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
11135
11135
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
11136
11136
  * `asyncResult`, which is an `Office.AsyncResult` object.
11137
11137
  */
@@ -11206,7 +11206,7 @@ declare namespace Office {
11206
11206
  * @param formData - A string that contains text and HTML and that represents the body of the reply form. The string is limited to 32 KB
11207
11207
  * OR a {@link Office.ReplyFormData | ReplyFormData} object that contains body or attachment data and a callback function.
11208
11208
  * @param options - An object literal that contains one or more of the following properties.
11209
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
11209
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
11210
11210
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
11211
11211
  * `asyncResult`, which is an `Office.AsyncResult` object.
11212
11212
  */
@@ -11261,7 +11261,7 @@ declare namespace Office {
11261
11261
  *
11262
11262
  * @param attachmentId - The identifier of the attachment you want to get.
11263
11263
  * @param options - An object literal that contains one or more of the following properties.
11264
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
11264
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
11265
11265
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
11266
11266
  * `asyncResult`, which is an `Office.AsyncResult` object. If the call fails, the `asyncResult.error` property will contain
11267
11267
  * an error code with the reason for the failure.
@@ -11505,7 +11505,7 @@ declare namespace Office {
11505
11505
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Attendee
11506
11506
  *
11507
11507
  * @param options - An object literal that contains one or more of the following properties.
11508
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
11508
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
11509
11509
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
11510
11510
  * type `Office.AsyncResult`.
11511
11511
  * The `value` property of the result is the properties of the shared item.
@@ -11569,7 +11569,7 @@ declare namespace Office {
11569
11569
  *
11570
11570
  * @param eventType - The event that should revoke the handler.
11571
11571
  * @param options - An object literal that contains one or more of the following properties.
11572
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
11572
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
11573
11573
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
11574
11574
  * `asyncResult`, which is an `Office.AsyncResult` object.
11575
11575
  */
@@ -11821,7 +11821,7 @@ declare namespace Office {
11821
11821
  *
11822
11822
  * @param data - The string to be added to the end of the body. The string is limited to 5,000 characters.
11823
11823
  * @param options - An object literal that contains one or more of the following properties.
11824
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
11824
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
11825
11825
  * `coercionType`: The desired format for the data to be appended. The string in the `data` parameter will be converted to this format.
11826
11826
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
11827
11827
  * of type `Office.AsyncResult`. Any errors encountered will be provided in the `asyncResult.error` property.
@@ -11879,7 +11879,7 @@ declare namespace Office {
11879
11879
  *
11880
11880
  * @param coercionType - The format for the returned body.
11881
11881
  * @param options - An object literal that contains one or more of the following properties:
11882
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
11882
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
11883
11883
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
11884
11884
  * of type Office.AsyncResult. The body is provided in the requested format in the `asyncResult.value` property.
11885
11885
  */
@@ -11916,7 +11916,7 @@ declare namespace Office {
11916
11916
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
11917
11917
  *
11918
11918
  * @param options - An object literal that contains one or more of the following properties.
11919
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
11919
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
11920
11920
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
11921
11921
  * of type `Office.AsyncResult`.
11922
11922
  * The content type is returned as one of the `CoercionType` values in the `asyncResult.value` property.
@@ -11965,7 +11965,7 @@ declare namespace Office {
11965
11965
  *
11966
11966
  * @param data - The string to be inserted at the beginning of the body. The string is limited to 1,000,000 characters.
11967
11967
  * @param options - An object literal that contains one or more of the following properties.
11968
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
11968
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
11969
11969
  * `coercionType`: The desired format for the body. The string in the `data` parameter will be converted to this format.
11970
11970
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
11971
11971
  * of type `Office.AsyncResult`. Any errors encountered will be provided in the `asyncResult.error` property.
@@ -12031,7 +12031,7 @@ declare namespace Office {
12031
12031
  *
12032
12032
  * @param data - The string that will replace the existing body. The string is limited to 1,000,000 characters.
12033
12033
  * @param options - An object literal that contains one or more of the following properties.
12034
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
12034
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
12035
12035
  * `coercionType`: The desired format for the body. The string in the `data` parameter will be converted to this format.
12036
12036
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
12037
12037
  * of type Office.AsyncResult. Any errors encountered will be provided in the `asyncResult.error` property.
@@ -12096,7 +12096,7 @@ declare namespace Office {
12096
12096
  *
12097
12097
  * @param data - The string that will replace the existing body. The string is limited to 1,000,000 characters.
12098
12098
  * @param options - An object literal that contains one or more of the following properties.
12099
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
12099
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
12100
12100
  * `coercionType`: The desired format for the body. The string in the `data` parameter will be converted to this format.
12101
12101
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
12102
12102
  * of type `Office.AsyncResult`. Any errors encountered will be provided in the `asyncResult.error` property.
@@ -12159,7 +12159,7 @@ declare namespace Office {
12159
12159
  *
12160
12160
  * @param data - The string that represents the signature to be set in the body of the mail. This string is limited to 30,000 characters.
12161
12161
  * @param options - An object literal that contains one or more of the following properties.
12162
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
12162
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
12163
12163
  * `coercionType`: The format the signature should be set to. If Text, the method sets the signature to plain text,
12164
12164
  * removing any HTML tags present. If Html, the method sets the signature to HTML.
12165
12165
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
@@ -12233,7 +12233,7 @@ declare namespace Office {
12233
12233
  *
12234
12234
  * @param categories - The categories to be added to the item.
12235
12235
  * @param options - An object literal that contains one or more of the following properties.
12236
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
12236
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
12237
12237
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
12238
12238
  * type `Office.AsyncResult`.
12239
12239
  */
@@ -12271,7 +12271,7 @@ declare namespace Office {
12271
12271
  * - In Outlook on the web, you can't use the API to manage categories applied to a message in Compose mode.
12272
12272
  *
12273
12273
  * @param options - An object literal that contains one or more of the following properties.
12274
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
12274
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
12275
12275
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
12276
12276
  * type `Office.AsyncResult`. If getting categories fails, the `asyncResult.error` property will contain an error code.
12277
12277
  *
@@ -12318,7 +12318,7 @@ declare namespace Office {
12318
12318
  *
12319
12319
  * @param categories - The categories to be removed from the item.
12320
12320
  * @param options - An object literal that contains one or more of the following properties.
12321
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
12321
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
12322
12322
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
12323
12323
  * type `Office.AsyncResult`. If removing categories fails, the `asyncResult.error` property will contain an error code.
12324
12324
  */
@@ -12471,7 +12471,7 @@ declare namespace Office {
12471
12471
  * In particular, a read add-in can be activated while the user is in a connected state in a read form, and subsequently the user becomes
12472
12472
  * disconnected.
12473
12473
  * If the add-in calls `saveAsync` while in the disconnected state, `saveAsync` would return an error.
12474
- * Your callback method should handle this error accordingly.
12474
+ * Your callback function should handle this error accordingly.
12475
12475
  *
12476
12476
  * @remarks
12477
12477
  *
@@ -12481,7 +12481,7 @@ declare namespace Office {
12481
12481
  *
12482
12482
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
12483
12483
  * type `Office.AsyncResult`.
12484
- * @param asyncContext - Optional. Any state data that is passed to the callback method.
12484
+ * @param asyncContext - Optional. Any state data that is passed to the callback function.
12485
12485
  */
12486
12486
  saveAsync(callback: (asyncResult: Office.AsyncResult<void>) => void, asyncContext?: any): void;
12487
12487
  /**
@@ -12494,7 +12494,7 @@ declare namespace Office {
12494
12494
  * In particular, a read add-in can be activated while the user is in a connected state in a read form, and subsequently the user becomes
12495
12495
  * disconnected.
12496
12496
  * If the add-in calls `saveAsync` while in the disconnected state, `saveAsync` would return an error.
12497
- * Your callback method should handle this error accordingly.
12497
+ * Your callback function should handle this error accordingly.
12498
12498
  *
12499
12499
  * @remarks
12500
12500
  *
@@ -12502,7 +12502,7 @@ declare namespace Office {
12502
12502
  *
12503
12503
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
12504
12504
  *
12505
- * @param asyncContext - Optional. Any state data that is passed to the callback method.
12505
+ * @param asyncContext - Optional. Any state data that is passed to the callback function.
12506
12506
  */
12507
12507
  saveAsync(asyncContext?: any): void;
12508
12508
  /**
@@ -12676,7 +12676,7 @@ declare namespace Office {
12676
12676
  *
12677
12677
  * @param locationIdentifiers The locations to be added to the current list of locations.
12678
12678
  * @param options An object literal that contains one or more of the following properties.
12679
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
12679
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
12680
12680
  * @param callback Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
12681
12681
  * `asyncResult`, which is an `Office.AsyncResult` object. Check the `status` property of `asyncResult` to determine if the call succeeded.
12682
12682
  */
@@ -12711,7 +12711,7 @@ declare namespace Office {
12711
12711
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
12712
12712
  *
12713
12713
  * @param options An object literal that contains one or more of the following properties.
12714
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
12714
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
12715
12715
  * @param callback Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
12716
12716
  * `asyncResult`, which is an `Office.AsyncResult` object.
12717
12717
  */
@@ -12744,7 +12744,7 @@ declare namespace Office {
12744
12744
  *
12745
12745
  * @param locationIdentifiers The locations to be removed from the current list of locations.
12746
12746
  * @param options An object literal that contains one or more of the following properties.
12747
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
12747
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
12748
12748
  * @param callback Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
12749
12749
  * `asyncResult`, which is an `Office.AsyncResult` object. Check the `status` property of `asyncResult` to determine if the call succeeded.
12750
12750
  */
@@ -12877,7 +12877,7 @@ declare namespace Office {
12877
12877
  * The email sender is always a user whose email address is on the Exchange server.
12878
12878
  *
12879
12879
  * @param options - An object literal that contains one or more of the following properties.
12880
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
12880
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
12881
12881
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
12882
12882
  * `asyncResult`, which is an `Office.AsyncResult` object.
12883
12883
  * The `value` property of the result is the item's from value, as an `EmailAddressDetails` object.
@@ -12994,7 +12994,7 @@ declare namespace Office {
12994
12994
  *
12995
12995
  * @param names - The names of the internet headers to be returned.
12996
12996
  * @param options - An object literal that contains one or more of the following properties:
12997
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
12997
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
12998
12998
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
12999
12999
  * `asyncResult`, which is an `Office.AsyncResult` object.
13000
13000
  */
@@ -13031,7 +13031,7 @@ declare namespace Office {
13031
13031
  *
13032
13032
  * @param names - The names of the internet headers to be removed.
13033
13033
  * @param options - An object literal that contains one or more of the following properties:
13034
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
13034
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
13035
13035
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
13036
13036
  * `asyncResult`, which is an `Office.AsyncResult` object.
13037
13037
  */
@@ -13071,7 +13071,7 @@ declare namespace Office {
13071
13071
  * @param headers - The names and corresponding values of the headers to be set. Should be a dictionary object with keys being the names of the
13072
13072
  * internet headers and values being the values of the internet headers.
13073
13073
  * @param options - An object literal that contains one or more of the following properties.
13074
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
13074
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
13075
13075
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
13076
13076
  * of type Office.AsyncResult. Any errors encountered will be provided in the `asyncResult.error` property.
13077
13077
  */
@@ -13221,7 +13221,7 @@ declare namespace Office {
13221
13221
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
13222
13222
  *
13223
13223
  * @param options - An object literal that contains one or more of the following properties.
13224
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
13224
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
13225
13225
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
13226
13226
  * type `Office.AsyncResult`.
13227
13227
  */
@@ -13262,7 +13262,7 @@ declare namespace Office {
13262
13262
  *
13263
13263
  * @param location - The location of the appointment. The string is limited to 255 characters.
13264
13264
  * @param options - An object literal that contains one or more of the following properties.
13265
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
13265
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
13266
13266
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
13267
13267
  * type `Office.AsyncResult`. If setting the location fails, the `asyncResult.error` property will contain an error code.
13268
13268
  */
@@ -13632,7 +13632,7 @@ declare namespace Office {
13632
13632
  *
13633
13633
  * @param itemId - The Exchange Web Services (EWS) identifier for an existing calendar appointment.
13634
13634
  * @param options - An object literal that contains one or more of the following properties.
13635
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
13635
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
13636
13636
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
13637
13637
  * `asyncResult`, which is an `Office.AsyncResult` object.
13638
13638
  */
@@ -13715,7 +13715,7 @@ declare namespace Office {
13715
13715
  *
13716
13716
  * @param itemId - The Exchange Web Services (EWS) identifier for an existing message.
13717
13717
  * @param options - An object literal that contains one or more of the following properties.
13718
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
13718
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
13719
13719
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
13720
13720
  * `asyncResult`, which is an `Office.AsyncResult` object.
13721
13721
  */
@@ -13802,7 +13802,7 @@ declare namespace Office {
13802
13802
  *
13803
13803
  * @param parameters - An `AppointmentForm` describing the new appointment. All properties are optional.
13804
13804
  * @param options - An object literal that contains one or more of the following properties.
13805
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
13805
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
13806
13806
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
13807
13807
  * `asyncResult`, which is an `Office.AsyncResult` object.
13808
13808
  */
@@ -13930,7 +13930,7 @@ declare namespace Office {
13930
13930
  * `attachments.itemId`: Only used if type is set to item. The EWS item id of the existing e-mail you want to attach to the new message.
13931
13931
  * This is a string up to 100 characters.
13932
13932
  * @param options - An object literal that contains one or more of the following properties.
13933
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
13933
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
13934
13934
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
13935
13935
  * `asyncResult`, which is an `Office.AsyncResult` object.
13936
13936
  */
@@ -14256,7 +14256,7 @@ declare namespace Office {
14256
14256
  *
14257
14257
  * @param categories - The categories to be added to the master list on the mailbox.
14258
14258
  * @param options - An object literal that contains one or more of the following properties.
14259
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
14259
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
14260
14260
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
14261
14261
  * type `Office.AsyncResult`.
14262
14262
  */
@@ -14293,7 +14293,7 @@ declare namespace Office {
14293
14293
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
14294
14294
  *
14295
14295
  * @param options - An object literal that contains one or more of the following properties.
14296
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
14296
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
14297
14297
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
14298
14298
  * type `Office.AsyncResult`. If adding categories fails, the `asyncResult.error` property will contain an error code.
14299
14299
  */
@@ -14328,7 +14328,7 @@ declare namespace Office {
14328
14328
  *
14329
14329
  * @param categories - The categories to be removed from the master list on the mailbox.
14330
14330
  * @param options - An object literal that contains one or more of the following properties.
14331
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
14331
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
14332
14332
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
14333
14333
  * type `Office.AsyncResult`. If removing categories fails, the `asyncResult.error` property will contain an error code.
14334
14334
  */
@@ -14640,7 +14640,7 @@ declare namespace Office {
14640
14640
  * @param uri - The URI that provides the location of the file to attach to the message or appointment. The maximum length is 2048 characters.
14641
14641
  * @param attachmentName - The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters.
14642
14642
  * @param options - An object literal that contains one or more of the following properties.
14643
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
14643
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
14644
14644
  * `isInline`: If true, indicates that the attachment will be shown inline in the message body, and should not be displayed in the
14645
14645
  * attachment list.
14646
14646
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
@@ -14712,7 +14712,7 @@ declare namespace Office {
14712
14712
  * @param base64File - The base64-encoded content of an image or file to be added to an email or event.
14713
14713
  * @param attachmentName - The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters.
14714
14714
  * @param options - An object literal that contains one or more of the following properties.
14715
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
14715
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
14716
14716
  * `isInline`: If true, indicates that the attachment will be shown inline in the message body and should not be displayed in the attachment list.
14717
14717
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
14718
14718
  * type Office.AsyncResult. On success, the attachment identifier will be provided in the `asyncResult.value` property.
@@ -14769,7 +14769,7 @@ declare namespace Office {
14769
14769
  * @param handler - The function to handle the event. The function must accept a single parameter, which is an object literal.
14770
14770
  * The `type` property on the parameter will match the `eventType` parameter passed to `addHandlerAsync`.
14771
14771
  * @param options - An object literal that contains one or more of the following properties.
14772
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
14772
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
14773
14773
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
14774
14774
  * `asyncResult`, which is an `Office.AsyncResult` object.
14775
14775
  */
@@ -14798,9 +14798,9 @@ declare namespace Office {
14798
14798
  * Adds an Exchange item, such as a message, as an attachment to the message or appointment.
14799
14799
  *
14800
14800
  * The `addItemAttachmentAsync` method attaches the item with the specified Exchange identifier to the item in the compose form.
14801
- * If you specify a callback method, the method is called with one parameter, `asyncResult`, which contains either the attachment identifier or
14801
+ * If you specify a callback function, the method is called with one parameter, `asyncResult`, which contains either the attachment identifier or
14802
14802
  * a code that indicates any error that occurred while attaching the item. You can use the options parameter to pass state information to the
14803
- * callback method, if needed.
14803
+ * callback function, if needed.
14804
14804
  *
14805
14805
  * You can subsequently use the identifier with the `removeAttachmentAsync` method to remove the attachment in the same session.
14806
14806
  *
@@ -14821,7 +14821,7 @@ declare namespace Office {
14821
14821
  * @param itemId - The Exchange identifier of the item to attach. The maximum length is 100 characters.
14822
14822
  * @param attachmentName - The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters.
14823
14823
  * @param options - An object literal that contains one or more of the following properties.
14824
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
14824
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
14825
14825
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
14826
14826
  * type `Office.AsyncResult`. On success, the attachment identifier will be provided in the `asyncResult.value` property.
14827
14827
  * If adding the attachment fails, the `asyncResult` object will contain an `Error` object that provides a description of
@@ -14832,9 +14832,9 @@ declare namespace Office {
14832
14832
  * Adds an Exchange item, such as a message, as an attachment to the message or appointment.
14833
14833
  *
14834
14834
  * The `addItemAttachmentAsync` method attaches the item with the specified Exchange identifier to the item in the compose form.
14835
- * If you specify a callback method, the method is called with one parameter, `asyncResult`, which contains either the attachment identifier or
14835
+ * If you specify a callback function, the method is called with one parameter, `asyncResult`, which contains either the attachment identifier or
14836
14836
  * a code that indicates any error that occurred while attaching the item. You can use the options parameter to pass state information to the
14837
- * callback method, if needed.
14837
+ * callback function, if needed.
14838
14838
  *
14839
14839
  * You can subsequently use the identifier with the `removeAttachmentAsync` method to remove the attachment in the same session.
14840
14840
  *
@@ -14895,7 +14895,7 @@ declare namespace Office {
14895
14895
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
14896
14896
  *
14897
14897
  * @param options - An object literal that contains one or more of the following properties.
14898
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
14898
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
14899
14899
  * @param callback - Optional. When the method completes, the function passed in the callback parameter is called with a single parameter,
14900
14900
  * `asyncResult`, which is an `Office.AsyncResult` object.
14901
14901
  */
@@ -14944,7 +14944,7 @@ declare namespace Office {
14944
14944
  *
14945
14945
  * @param attachmentId - The identifier of the attachment you want to get.
14946
14946
  * @param options - An object literal that contains one or more of the following properties.
14947
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
14947
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
14948
14948
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
14949
14949
  * `asyncResult`, which is an `Office.AsyncResult` object. If the call fails, the `asyncResult.error` property will contain
14950
14950
  * an error code with the reason for the failure.
@@ -14990,7 +14990,7 @@ declare namespace Office {
14990
14990
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
14991
14991
  *
14992
14992
  * @param options - An object literal that contains one or more of the following properties.
14993
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
14993
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
14994
14994
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
14995
14995
  * type `Office.AsyncResult`. If the call fails, the `asyncResult.error` property will contain an error code with the reason for
14996
14996
  * the failure.
@@ -15023,7 +15023,7 @@ declare namespace Office {
15023
15023
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
15024
15024
  *
15025
15025
  * @param options - An object literal that contains one or more of the following properties.
15026
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
15026
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
15027
15027
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
15028
15028
  * type `Office.AsyncResult`. On success, the `asyncResult.value` property contains an object with the item's compose type
15029
15029
  * and coercion type.
@@ -15054,7 +15054,7 @@ declare namespace Office {
15054
15054
  /**
15055
15055
  * Asynchronously gets the ID of a saved item.
15056
15056
  *
15057
- * When invoked, this method returns the item ID via the callback method.
15057
+ * When invoked, this method returns the item ID via the callback function.
15058
15058
  *
15059
15059
  * **Note**: If your add-in calls `getItemIdAsync` on an item in compose mode (e.g., to get an `itemId` to use with EWS or the REST API),
15060
15060
  * be aware that when Outlook is in cached mode, it may take some time before the item is synced to the server.
@@ -15072,7 +15072,7 @@ declare namespace Office {
15072
15072
  * - `ItemNotSaved`: The id can't be retrieved until the item is saved.
15073
15073
  *
15074
15074
  * @param options - An object literal that contains one or more of the following properties.
15075
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
15075
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
15076
15076
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter
15077
15077
  * of type `Office.AsyncResult`.
15078
15078
  */
@@ -15080,7 +15080,7 @@ declare namespace Office {
15080
15080
  /**
15081
15081
  * Asynchronously gets the ID of a saved item.
15082
15082
  *
15083
- * When invoked, this method returns the item ID via the callback method.
15083
+ * When invoked, this method returns the item ID via the callback function.
15084
15084
  *
15085
15085
  * **Note**: If your add-in calls `getItemIdAsync` on an item in compose mode (e.g., to get an `itemId` to use with EWS or the REST API),
15086
15086
  * be aware that when Outlook is in cached mode, it may take some time before the item is synced to the server.
@@ -15107,7 +15107,7 @@ declare namespace Office {
15107
15107
  * If there is no selection but the cursor is in the body or subject, the method returns an empty string for the selected data.
15108
15108
  * If a field other than the body or subject is selected, the method returns the `InvalidSelection` error.
15109
15109
  *
15110
- * To access the selected data from the callback method, call `asyncResult.value.data`.
15110
+ * To access the selected data from the callback function, call `asyncResult.value.data`.
15111
15111
  * To access the source property that the selection comes from, call `asyncResult.value.sourceProperty`, which will be either `body` or `subject`.
15112
15112
  *
15113
15113
  * @returns
@@ -15123,7 +15123,7 @@ declare namespace Office {
15123
15123
  * @param coercionType - Requests a format for the data. If `Text`, the method returns the plain text as a string, removing any HTML tags present.
15124
15124
  * If `Html`, the method returns the selected text, whether it is plaintext or HTML.
15125
15125
  * @param options - An object literal that contains one or more of the following properties.
15126
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
15126
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
15127
15127
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
15128
15128
  * type `Office.AsyncResult`.
15129
15129
  */
@@ -15134,7 +15134,7 @@ declare namespace Office {
15134
15134
  * If there is no selection but the cursor is in the body or subject, the method returns an empty string for the selected data.
15135
15135
  * If a field other than the body or subject is selected, the method returns the `InvalidSelection` error.
15136
15136
  *
15137
- * To access the selected data from the callback method, call `asyncResult.value.data`.
15137
+ * To access the selected data from the callback function, call `asyncResult.value.data`.
15138
15138
  * To access the source property that the selection comes from, call `asyncResult.value.sourceProperty`, which will be either `body` or `subject`.
15139
15139
  *
15140
15140
  * @returns
@@ -15180,7 +15180,7 @@ declare namespace Office {
15180
15180
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
15181
15181
  *
15182
15182
  * @param options - An object literal that contains one or more of the following properties.
15183
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
15183
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
15184
15184
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
15185
15185
  * type `Office.AsyncResult`. The `value` property of the result is the properties of the shared item.
15186
15186
  */
@@ -15231,7 +15231,7 @@ declare namespace Office {
15231
15231
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
15232
15232
  *
15233
15233
  * @param options - An object literal that contains one or more of the following properties.
15234
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
15234
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
15235
15235
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
15236
15236
  * type `Office.AsyncResult`.
15237
15237
  */
@@ -15301,7 +15301,7 @@ declare namespace Office {
15301
15301
  * @param attachmentId - The identifier of the attachment to remove. The maximum string length of the `attachmentId`
15302
15302
  * is 200 characters in Outlook on the web and on Windows.
15303
15303
  * @param options - An object literal that contains one or more of the following properties.
15304
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
15304
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
15305
15305
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
15306
15306
  * type `Office.AsyncResult`. If removing the attachment fails, the `asyncResult.error` property will contain an error code
15307
15307
  * with the reason for the failure.
@@ -15349,7 +15349,7 @@ declare namespace Office {
15349
15349
  *
15350
15350
  * @param eventType - The event that should revoke the handler.
15351
15351
  * @param options - An object literal that contains one or more of the following properties.
15352
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
15352
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
15353
15353
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
15354
15354
  * `asyncResult`, which is an `Office.AsyncResult` object.
15355
15355
  */
@@ -15375,7 +15375,7 @@ declare namespace Office {
15375
15375
  /**
15376
15376
  * Asynchronously saves an item.
15377
15377
  *
15378
- * When invoked, this method saves the current message as a draft and returns the item ID via the callback method.
15378
+ * When invoked, this method saves the current message as a draft and returns the item ID via the callback function.
15379
15379
  * In Outlook on the web or Outlook in online mode, the item is saved to the server.
15380
15380
  * In Outlook in cached mode, the item is saved to the local cache.
15381
15381
  *
@@ -15402,7 +15402,7 @@ declare namespace Office {
15402
15402
  * - `InvalidAttachmentId`: The attachment identifier does not exist.
15403
15403
  *
15404
15404
  * @param options - An object literal that contains one or more of the following properties.
15405
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
15405
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
15406
15406
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
15407
15407
  * type `Office.AsyncResult`.
15408
15408
  */
@@ -15410,7 +15410,7 @@ declare namespace Office {
15410
15410
  /**
15411
15411
  * Asynchronously saves an item.
15412
15412
  *
15413
- * When invoked, this method saves the current message as a draft and returns the item id via the callback method.
15413
+ * When invoked, this method saves the current message as a draft and returns the item id via the callback function.
15414
15414
  * In Outlook on the web or Outlook in online mode, the item is saved to the server.
15415
15415
  * In Outlook in cached mode, the item is saved to the local cache.
15416
15416
  *
@@ -15461,7 +15461,7 @@ declare namespace Office {
15461
15461
  * @param data - The data to be inserted. Data is not to exceed 1,000,000 characters.
15462
15462
  * If more than 1,000,000 characters are passed in, an `ArgumentOutOfRange` exception is thrown.
15463
15463
  * @param options - An object literal that contains one or more of the following properties.
15464
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
15464
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
15465
15465
  * `coercionType`: If text, the current style is applied in Outlook on the web and desktop clients.
15466
15466
  * If the field is an HTML editor, only the text data is inserted, even if the data is HTML.
15467
15467
  * If html and the field supports HTML (the subject doesn't), the current style is applied in Outlook on the web and the default style is
@@ -15886,7 +15886,7 @@ declare namespace Office {
15886
15886
  * @param handler - The function to handle the event. The function must accept a single parameter, which is an object literal.
15887
15887
  * The `type` property on the parameter will match the eventType `parameter` passed to `addHandlerAsync`.
15888
15888
  * @param options - An object literal that contains one or more of the following properties.
15889
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
15889
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
15890
15890
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
15891
15891
  * `asyncResult`, which is an `Office.AsyncResult` object.
15892
15892
  */
@@ -15957,7 +15957,7 @@ declare namespace Office {
15957
15957
  * @param formData - A string that contains text and HTML and that represents the body of the reply form. The string is limited to 32 KB
15958
15958
  * OR a {@link Office.ReplyFormData | ReplyFormData} object that contains body or attachment data and a callback function.
15959
15959
  * @param options - An object literal that contains one or more of the following properties.
15960
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
15960
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
15961
15961
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
15962
15962
  * `asyncResult`, which is an `Office.AsyncResult` object.
15963
15963
  */
@@ -16032,7 +16032,7 @@ declare namespace Office {
16032
16032
  * @param formData - A string that contains text and HTML and that represents the body of the reply form. The string is limited to 32 KB
16033
16033
  * OR a {@link Office.ReplyFormData | ReplyFormData} object that contains body or attachment data and a callback function.
16034
16034
  * @param options - An object literal that contains one or more of the following properties.
16035
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
16035
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
16036
16036
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
16037
16037
  * `asyncResult`, which is an `Office.AsyncResult` object.
16038
16038
  */
@@ -16076,7 +16076,7 @@ declare namespace Office {
16076
16076
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
16077
16077
  *
16078
16078
  * @param options - An object literal that contains one or more of the following properties.
16079
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
16079
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
16080
16080
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
16081
16081
  * `asyncResult`, which is an `Office.AsyncResult` object.
16082
16082
  * On success, the internet headers data is provided in the `asyncResult.value` property as a string.
@@ -16129,7 +16129,7 @@ declare namespace Office {
16129
16129
  *
16130
16130
  * @param attachmentId - The identifier of the attachment you want to get.
16131
16131
  * @param options - An object literal that contains one or more of the following properties.
16132
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
16132
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
16133
16133
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
16134
16134
  * `asyncResult`, which is an `Office.AsyncResult` object. If the call fails, the `asyncResult.error` property will contain
16135
16135
  * an error code with the reason for the failure.
@@ -16374,7 +16374,7 @@ declare namespace Office {
16374
16374
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
16375
16375
  *
16376
16376
  * @param options - An object literal that contains one or more of the following properties.
16377
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
16377
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
16378
16378
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
16379
16379
  * type `Office.AsyncResult`. The `value` property of the result is the properties of the shared item.
16380
16380
  */
@@ -16435,7 +16435,7 @@ declare namespace Office {
16435
16435
  *
16436
16436
  * @param eventType - The event that should revoke the handler.
16437
16437
  * @param options - An object literal that contains one or more of the following properties.
16438
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
16438
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
16439
16439
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
16440
16440
  * `asyncResult`, which is an `Office.AsyncResult` object.
16441
16441
  */
@@ -16573,7 +16573,7 @@ declare namespace Office {
16573
16573
  * @param JSONmessage - A JSON object that contains the notification message to be added to the item.
16574
16574
  * It contains a `NotificationMessageDetails` object.
16575
16575
  * @param options - An object literal that contains one or more of the following properties.
16576
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
16576
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
16577
16577
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
16578
16578
  * of type `Office.AsyncResult`.
16579
16579
  */
@@ -16609,7 +16609,7 @@ declare namespace Office {
16609
16609
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
16610
16610
  *
16611
16611
  * @param options - An object literal that contains one or more of the following properties.
16612
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
16612
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
16613
16613
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
16614
16614
  * of type `Office.AsyncResult`. The `value` property of the result is an array of `NotificationMessageDetails` objects.
16615
16615
  */
@@ -16640,7 +16640,7 @@ declare namespace Office {
16640
16640
  *
16641
16641
  * @param key - The key for the notification message to remove.
16642
16642
  * @param options - An object literal that contains one or more of the following properties.
16643
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
16643
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
16644
16644
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
16645
16645
  * of type `Office.AsyncResult`.
16646
16646
  */
@@ -16676,7 +16676,7 @@ declare namespace Office {
16676
16676
  * @param JSONmessage - A JSON object that contains the new notification message to replace the existing message.
16677
16677
  * It contains a `NotificationMessageDetails` object.
16678
16678
  * @param options - An object literal that contains one or more of the following properties.
16679
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
16679
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
16680
16680
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
16681
16681
  * of type `Office.AsyncResult`.
16682
16682
  */
@@ -16728,7 +16728,7 @@ declare namespace Office {
16728
16728
  * The appointment organizer is always a user whose email address is on the Exchange server.
16729
16729
  *
16730
16730
  * @param options - An object literal that contains one or more of the following properties.
16731
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
16731
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
16732
16732
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
16733
16733
  * `asyncResult`, which is an `AsyncResult` object. The `value` property of the result is the appointment's organizer value,
16734
16734
  * as an `EmailAddressDetails` object.
@@ -16825,7 +16825,7 @@ declare namespace Office {
16825
16825
  *
16826
16826
  * @param recipients - The recipients to add to the recipients list.
16827
16827
  * @param options - An object literal that contains one or more of the following properties.
16828
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
16828
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
16829
16829
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
16830
16830
  * of type `Office.AsyncResult`. If adding the recipients fails, the `asyncResult.error` property will contain an error code.
16831
16831
  */
@@ -16902,7 +16902,7 @@ declare namespace Office {
16902
16902
  * the auto-complete list.
16903
16903
  *
16904
16904
  * @param options - An object literal that contains one or more of the following properties.
16905
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
16905
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
16906
16906
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter
16907
16907
  * of type `Office.AsyncResult`. The `value` property of the result is an array of `EmailAddressDetails` objects.
16908
16908
  */
@@ -16981,7 +16981,7 @@ declare namespace Office {
16981
16981
  *
16982
16982
  * @param recipients - The recipients to add to the recipients list.
16983
16983
  * @param options - An object literal that contains one or more of the following properties.
16984
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
16984
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
16985
16985
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
16986
16986
  * type `Office.AsyncResult`. If setting the recipients fails the `asyncResult.error` property will contain a code that
16987
16987
  * indicates any error that occurred while adding the data.
@@ -17212,7 +17212,7 @@ declare namespace Office {
17212
17212
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
17213
17213
  *
17214
17214
  * @param options - An object literal that contains one or more of the following properties.
17215
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
17215
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
17216
17216
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
17217
17217
  * `asyncResult`, which is an `Office.AsyncResult` object. The `value` property of the result is a `Recurrence` object.
17218
17218
  */
@@ -17251,7 +17251,7 @@ declare namespace Office {
17251
17251
  *
17252
17252
  * @param recurrencePattern - A recurrence object.
17253
17253
  * @param options - An object literal that contains one or more of the following properties.
17254
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
17254
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
17255
17255
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
17256
17256
  * `asyncResult`, which is an `Office.AsyncResult` object.
17257
17257
  */
@@ -17410,7 +17410,7 @@ declare namespace Office {
17410
17410
  callback?: (asyncResult: Office.AsyncResult<any>) => void;
17411
17411
  /**
17412
17412
  * An object literal that contains the following property.
17413
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
17413
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
17414
17414
  */
17415
17415
  options?: Office.AsyncContextOptions;
17416
17416
  }
@@ -17494,7 +17494,7 @@ declare namespace Office {
17494
17494
  *
17495
17495
  * A maximum of 32KB is available for the settings of each add-in.
17496
17496
  *
17497
- * Any changes made to settings using the set function will not be saved to the server until the `saveAsync` function is called.
17497
+ * Any changes made to settings using the `set` method will not be saved to the server until the `saveAsync` method is called.
17498
17498
  *
17499
17499
  * @remarks
17500
17500
  *
@@ -17704,7 +17704,7 @@ declare namespace Office {
17704
17704
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
17705
17705
  *
17706
17706
  * @param options - An object literal that contains one or more of the following properties.
17707
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
17707
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
17708
17708
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
17709
17709
  * `asyncResult`, which is an `Office.AsyncResult` object.
17710
17710
  */
@@ -17764,7 +17764,7 @@ declare namespace Office {
17764
17764
  *
17765
17765
  * @param name - The session data key.
17766
17766
  * @param options - An object literal that contains one or more of the following properties.
17767
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
17767
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
17768
17768
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
17769
17769
  * `asyncResult`, which is an `Office.AsyncResult` object.
17770
17770
  */
@@ -17799,7 +17799,7 @@ declare namespace Office {
17799
17799
  * @param name - The session data key.
17800
17800
  * @param value - The session data value as a string.
17801
17801
  * @param options - An object literal that contains one or more of the following properties.
17802
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
17802
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
17803
17803
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
17804
17804
  * type `Office.AsyncResult`.
17805
17805
  */
@@ -17886,7 +17886,7 @@ declare namespace Office {
17886
17886
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
17887
17887
  *
17888
17888
  * @param options - An object literal that contains one or more of the following properties.
17889
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
17889
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
17890
17890
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter
17891
17891
  * of type `Office.AsyncResult`. The `value` property of the result is the subject of the item.
17892
17892
  */
@@ -17926,7 +17926,7 @@ declare namespace Office {
17926
17926
  *
17927
17927
  * @param subject - The subject of the appointment or message. The string is limited to 255 characters.
17928
17928
  * @param options - An object literal that contains one or more of the following properties.
17929
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
17929
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
17930
17930
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
17931
17931
  * of type `Office.AsyncResult`. If setting the subject fails, the `asyncResult.error` property will contain an error code.
17932
17932
  */
@@ -18001,7 +18001,7 @@ declare namespace Office {
18001
18001
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
18002
18002
  *
18003
18003
  * @param options - An object literal that contains one or more of the following properties.
18004
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
18004
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
18005
18005
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter
18006
18006
  * of type `Office.AsyncResult`. The `value` property of the result is a `Date` object.
18007
18007
  */
@@ -18031,7 +18031,7 @@ declare namespace Office {
18031
18031
  *
18032
18032
  * The time must be in UTC; you can get the correct UTC time by using the `convertToUtcClientTime` method.
18033
18033
  *
18034
- * **Important**: In the Windows client, you can't use this function to update the start or end of a recurrence.
18034
+ * **Important**: In the Windows client, you can't use this method to update the start or end of a recurrence.
18035
18035
  *
18036
18036
  * @remarks
18037
18037
  * [Api set: Mailbox 1.1]
@@ -18046,7 +18046,7 @@ declare namespace Office {
18046
18046
  *
18047
18047
  * @param dateTime - A date-time object in Coordinated Universal Time (UTC).
18048
18048
  * @param options - An object literal that contains one or more of the following properties.
18049
- * `asyncContext`: Developers can provide any object they wish to access in the callback method.
18049
+ * `asyncContext`: Developers can provide any object they wish to access in the callback function.
18050
18050
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
18051
18051
  * type `Office.AsyncResult`. If setting the date and time fails, the `asyncResult.error` property will contain an error code.
18052
18052
  */
@@ -18059,7 +18059,7 @@ declare namespace Office {
18059
18059
  *
18060
18060
  * The time must be in UTC; you can get the correct UTC time by using the `convertToUtcClientTime` method.
18061
18061
  *
18062
- * **Important**: In the Windows client, you can't use this function to update the start or end of a recurrence.
18062
+ * **Important**: In the Windows client, you can't use this method to update the start or end of a recurrence.
18063
18063
  *
18064
18064
  * @remarks
18065
18065
  * [Api set: Mailbox 1.1]
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.266",
3
+ "version": "1.0.267",
4
4
  "description": "TypeScript definitions for Office.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js",
6
6
  "license": "MIT",
@@ -45,6 +45,6 @@
45
45
  },
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
- "typesPublisherContentHash": "0ed2d9c97fc5f0d41dbb1a23226ff853bd56f0cae874222fb3ef74c97248d56f",
48
+ "typesPublisherContentHash": "5bbd6180ead5877b5d7fe23077dceac281d5f3465d3394d9c37bcfbfdcd51cce",
49
49
  "typeScriptVersion": "4.0"
50
50
  }