Skip to content

Commit ec1b83b

Browse files
author
github-actions
committed
Merge branch 'main' into live
2 parents 199ed80 + fe341fa commit ec1b83b

File tree

100 files changed

+8087
-1291
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+8087
-1291
lines changed

docs/code-snippets/office-snippets.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3859,6 +3859,23 @@ Office.DocumentMode:enum:
38593859
- |-
38603860
const mode : Office.DocumentMode = Office.context.document.mode;
38613861
console.log("Document mode: " + mode);
3862+
Office.DocumentSelectionChangedEventArgs:interface:
3863+
- |-
3864+
// The following example adds an event handler for the SelectionChanged event of a document.
3865+
function addSelectionChangedEventHandler() {
3866+
Office.context.document.addHandlerAsync(Office.EventType.DocumentSelectionChanged, MyHandler);
3867+
}
3868+
3869+
// The SelectionChanged event handler.
3870+
function MyHandler(eventArgs: Office.DocumentSelectionChangedEventArgs) {
3871+
write('Event raised: ' + eventArgs.type);
3872+
doSomethingWithDocument(eventArgs.document);
3873+
}
3874+
3875+
// Function that writes to a div with id='message' on the page.
3876+
function write(message){
3877+
document.getElementById('message').innerText += message;
3878+
}
38623879
Office.EventType:enum:
38633880
- |-
38643881
// This sample shows how to register an event handler in Outlook.

docs/docs-ref-autogen/office/office/office.documentselectionchangedeventargs.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,28 @@ uid: 'office!Office.DocumentSelectionChangedEventArgs:interface'
44
package: office!
55
fullName: Office.DocumentSelectionChangedEventArgs
66
summary: Provides information about the document that raised the SelectionChanged event.
7-
remarks: ''
7+
remarks: |-
8+
9+
10+
#### Examples
11+
12+
```TypeScript
13+
// The following example adds an event handler for the SelectionChanged event of a document.
14+
function addSelectionChangedEventHandler() {
15+
Office.context.document.addHandlerAsync(Office.EventType.DocumentSelectionChanged, MyHandler);
16+
}
17+
18+
// The SelectionChanged event handler.
19+
function MyHandler(eventArgs: Office.DocumentSelectionChangedEventArgs) {
20+
write('Event raised: ' + eventArgs.type);
21+
doSomethingWithDocument(eventArgs.document);
22+
}
23+
24+
// Function that writes to a div with id='message' on the page.
25+
function write(message){
26+
document.getElementById('message').innerText += message;
27+
}
28+
```
829
isPreview: false
930
isDeprecated: false
1031
type: interface

docs/docs-ref-autogen/office_release/office/office.documentselectionchangedeventargs.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,28 @@ uid: 'office!Office.DocumentSelectionChangedEventArgs:interface'
44
package: office!
55
fullName: Office.DocumentSelectionChangedEventArgs
66
summary: Provides information about the document that raised the SelectionChanged event.
7-
remarks: ''
7+
remarks: |-
8+
9+
10+
#### Examples
11+
12+
```TypeScript
13+
// The following example adds an event handler for the SelectionChanged event of a document.
14+
function addSelectionChangedEventHandler() {
15+
Office.context.document.addHandlerAsync(Office.EventType.DocumentSelectionChanged, MyHandler);
16+
}
17+
18+
// The SelectionChanged event handler.
19+
function MyHandler(eventArgs: Office.DocumentSelectionChangedEventArgs) {
20+
write('Event raised: ' + eventArgs.type);
21+
doSomethingWithDocument(eventArgs.document);
22+
}
23+
24+
// Function that writes to a div with id='message' on the page.
25+
function write(message){
26+
document.getElementById('message').innerText += message;
27+
}
28+
```
829
isPreview: false
930
isDeprecated: false
1031
type: interface

docs/docs-ref-autogen/outlook/outlook/office.userprofile.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,7 @@ properties:
2323
uid: 'outlook!Office.UserProfile#accountType:member'
2424
package: outlook!
2525
fullName: accountType
26-
summary: |-
27-
Gets the account type of the user associated with the mailbox.
28-
29-
**Note**: This member is currently only supported in Outlook on Mac starting in Version 16.9 (17121200).
26+
summary: Gets the account type of the user associated with the mailbox.
3027
remarks: >-
3128
\[ [API set: Mailbox 1.6](/javascript/api/requirement-sets/outlook/outlook-api-requirement-sets) \]
3229
@@ -51,9 +48,18 @@ properties:
5148
account.</td> </tr> </table>
5249
5350
54-
**Note**: For hybrid Exchange environments, the returned account type value depends on where the mailbox is
55-
hosted. If the mailbox is on an on-premises server, the account type value is **enterprise**. However, if it's
56-
hosted on Exchange Online, the account type value is **office365**.
51+
**Important**:
52+
53+
54+
- Volume-licensed perpetual Outlook 2016 doesn’t support the `accountType` property. To work around this, use
55+
Exchange Web Services (EWS) to call the
56+
[ResolveNames](https://learn.microsoft.com/exchange/client-developer/web-service-reference/resolvenames-operation)
57+
operation on the Exchange on-premise server.
58+
59+
60+
- For hybrid Exchange environments, the returned account type value depends on where the mailbox is hosted. If the
61+
mailbox is on an on-premises server, the account type value is **enterprise**. However, if it's hosted on
62+
Exchange Online, the account type value is **office365**.
5763
5864
5965
#### Examples

docs/docs-ref-autogen/outlook_1_10/outlook/office.userprofile.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,7 @@ properties:
2323
uid: 'outlook!Office.UserProfile#accountType:member'
2424
package: outlook!
2525
fullName: accountType
26-
summary: |-
27-
Gets the account type of the user associated with the mailbox.
28-
29-
**Note**: This member is currently only supported in Outlook on Mac starting in Version 16.9 (17121200).
26+
summary: Gets the account type of the user associated with the mailbox.
3027
remarks: >-
3128
\[ [API set: Mailbox 1.6](/javascript/api/requirement-sets/outlook/outlook-api-requirement-sets) \]
3229
@@ -51,9 +48,18 @@ properties:
5148
account.</td> </tr> </table>
5249
5350
54-
**Note**: For hybrid Exchange environments, the returned account type value depends on where the mailbox is
55-
hosted. If the mailbox is on an on-premises server, the account type value is **enterprise**. However, if it's
56-
hosted on Exchange Online, the account type value is **office365**.
51+
**Important**:
52+
53+
54+
- Volume-licensed perpetual Outlook 2016 doesn’t support the `accountType` property. To work around this, use
55+
Exchange Web Services (EWS) to call the
56+
[ResolveNames](https://learn.microsoft.com/exchange/client-developer/web-service-reference/resolvenames-operation)
57+
operation on the Exchange on-premise server.
58+
59+
60+
- For hybrid Exchange environments, the returned account type value depends on where the mailbox is hosted. If the
61+
mailbox is on an on-premises server, the account type value is **enterprise**. However, if it's hosted on
62+
Exchange Online, the account type value is **office365**.
5763
5864
5965
#### Examples

docs/docs-ref-autogen/outlook_1_11/outlook/office.userprofile.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,7 @@ properties:
2323
uid: 'outlook!Office.UserProfile#accountType:member'
2424
package: outlook!
2525
fullName: accountType
26-
summary: |-
27-
Gets the account type of the user associated with the mailbox.
28-
29-
**Note**: This member is currently only supported in Outlook on Mac starting in Version 16.9 (17121200).
26+
summary: Gets the account type of the user associated with the mailbox.
3027
remarks: >-
3128
\[ [API set: Mailbox 1.6](/javascript/api/requirement-sets/outlook/outlook-api-requirement-sets) \]
3229
@@ -51,9 +48,18 @@ properties:
5148
account.</td> </tr> </table>
5249
5350
54-
**Note**: For hybrid Exchange environments, the returned account type value depends on where the mailbox is
55-
hosted. If the mailbox is on an on-premises server, the account type value is **enterprise**. However, if it's
56-
hosted on Exchange Online, the account type value is **office365**.
51+
**Important**:
52+
53+
54+
- Volume-licensed perpetual Outlook 2016 doesn’t support the `accountType` property. To work around this, use
55+
Exchange Web Services (EWS) to call the
56+
[ResolveNames](https://learn.microsoft.com/exchange/client-developer/web-service-reference/resolvenames-operation)
57+
operation on the Exchange on-premise server.
58+
59+
60+
- For hybrid Exchange environments, the returned account type value depends on where the mailbox is hosted. If the
61+
mailbox is on an on-premises server, the account type value is **enterprise**. However, if it's hosted on
62+
Exchange Online, the account type value is **office365**.
5763
5864
5965
#### Examples

docs/docs-ref-autogen/outlook_1_12/outlook/office.userprofile.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,7 @@ properties:
2323
uid: 'outlook!Office.UserProfile#accountType:member'
2424
package: outlook!
2525
fullName: accountType
26-
summary: |-
27-
Gets the account type of the user associated with the mailbox.
28-
29-
**Note**: This member is currently only supported in Outlook on Mac starting in Version 16.9 (17121200).
26+
summary: Gets the account type of the user associated with the mailbox.
3027
remarks: >-
3128
\[ [API set: Mailbox 1.6](/javascript/api/requirement-sets/outlook/outlook-api-requirement-sets) \]
3229
@@ -51,9 +48,18 @@ properties:
5148
account.</td> </tr> </table>
5249
5350
54-
**Note**: For hybrid Exchange environments, the returned account type value depends on where the mailbox is
55-
hosted. If the mailbox is on an on-premises server, the account type value is **enterprise**. However, if it's
56-
hosted on Exchange Online, the account type value is **office365**.
51+
**Important**:
52+
53+
54+
- Volume-licensed perpetual Outlook 2016 doesn’t support the `accountType` property. To work around this, use
55+
Exchange Web Services (EWS) to call the
56+
[ResolveNames](https://learn.microsoft.com/exchange/client-developer/web-service-reference/resolvenames-operation)
57+
operation on the Exchange on-premise server.
58+
59+
60+
- For hybrid Exchange environments, the returned account type value depends on where the mailbox is hosted. If the
61+
mailbox is on an on-premises server, the account type value is **enterprise**. However, if it's hosted on
62+
Exchange Online, the account type value is **office365**.
5763
5864
5965
#### Examples

docs/docs-ref-autogen/outlook_1_13/outlook/office.userprofile.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,7 @@ properties:
2323
uid: 'outlook!Office.UserProfile#accountType:member'
2424
package: outlook!
2525
fullName: accountType
26-
summary: |-
27-
Gets the account type of the user associated with the mailbox.
28-
29-
**Note**: This member is currently only supported in Outlook on Mac starting in Version 16.9 (17121200).
26+
summary: Gets the account type of the user associated with the mailbox.
3027
remarks: >-
3128
\[ [API set: Mailbox 1.6](/javascript/api/requirement-sets/outlook/outlook-api-requirement-sets) \]
3229
@@ -51,9 +48,18 @@ properties:
5148
account.</td> </tr> </table>
5249
5350
54-
**Note**: For hybrid Exchange environments, the returned account type value depends on where the mailbox is
55-
hosted. If the mailbox is on an on-premises server, the account type value is **enterprise**. However, if it's
56-
hosted on Exchange Online, the account type value is **office365**.
51+
**Important**:
52+
53+
54+
- Volume-licensed perpetual Outlook 2016 doesn’t support the `accountType` property. To work around this, use
55+
Exchange Web Services (EWS) to call the
56+
[ResolveNames](https://learn.microsoft.com/exchange/client-developer/web-service-reference/resolvenames-operation)
57+
operation on the Exchange on-premise server.
58+
59+
60+
- For hybrid Exchange environments, the returned account type value depends on where the mailbox is hosted. If the
61+
mailbox is on an on-premises server, the account type value is **enterprise**. However, if it's hosted on
62+
Exchange Online, the account type value is **office365**.
5763
5864
5965
#### Examples

docs/docs-ref-autogen/outlook_1_14/outlook/office.userprofile.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,7 @@ properties:
2323
uid: 'outlook!Office.UserProfile#accountType:member'
2424
package: outlook!
2525
fullName: accountType
26-
summary: |-
27-
Gets the account type of the user associated with the mailbox.
28-
29-
**Note**: This member is currently only supported in Outlook on Mac starting in Version 16.9 (17121200).
26+
summary: Gets the account type of the user associated with the mailbox.
3027
remarks: >-
3128
\[ [API set: Mailbox 1.6](/javascript/api/requirement-sets/outlook/outlook-api-requirement-sets) \]
3229
@@ -51,9 +48,18 @@ properties:
5148
account.</td> </tr> </table>
5249
5350
54-
**Note**: For hybrid Exchange environments, the returned account type value depends on where the mailbox is
55-
hosted. If the mailbox is on an on-premises server, the account type value is **enterprise**. However, if it's
56-
hosted on Exchange Online, the account type value is **office365**.
51+
**Important**:
52+
53+
54+
- Volume-licensed perpetual Outlook 2016 doesn’t support the `accountType` property. To work around this, use
55+
Exchange Web Services (EWS) to call the
56+
[ResolveNames](https://learn.microsoft.com/exchange/client-developer/web-service-reference/resolvenames-operation)
57+
operation on the Exchange on-premise server.
58+
59+
60+
- For hybrid Exchange environments, the returned account type value depends on where the mailbox is hosted. If the
61+
mailbox is on an on-premises server, the account type value is **enterprise**. However, if it's hosted on
62+
Exchange Online, the account type value is **office365**.
5763
5864
5965
#### Examples

docs/docs-ref-autogen/outlook_1_6/outlook/office.userprofile.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,7 @@ properties:
2323
uid: 'outlook!Office.UserProfile#accountType:member'
2424
package: outlook!
2525
fullName: accountType
26-
summary: |-
27-
Gets the account type of the user associated with the mailbox.
28-
29-
**Note**: This member is currently only supported in Outlook on Mac starting in Version 16.9 (17121200).
26+
summary: Gets the account type of the user associated with the mailbox.
3027
remarks: >-
3128
\[ [API set: Mailbox 1.6](/javascript/api/requirement-sets/outlook/outlook-api-requirement-sets) \]
3229
@@ -51,9 +48,18 @@ properties:
5148
account.</td> </tr> </table>
5249
5350
54-
**Note**: For hybrid Exchange environments, the returned account type value depends on where the mailbox is
55-
hosted. If the mailbox is on an on-premises server, the account type value is **enterprise**. However, if it's
56-
hosted on Exchange Online, the account type value is **office365**.
51+
**Important**:
52+
53+
54+
- Volume-licensed perpetual Outlook 2016 doesn’t support the `accountType` property. To work around this, use
55+
Exchange Web Services (EWS) to call the
56+
[ResolveNames](https://learn.microsoft.com/exchange/client-developer/web-service-reference/resolvenames-operation)
57+
operation on the Exchange on-premise server.
58+
59+
60+
- For hybrid Exchange environments, the returned account type value depends on where the mailbox is hosted. If the
61+
mailbox is on an on-premises server, the account type value is **enterprise**. However, if it's hosted on
62+
Exchange Online, the account type value is **office365**.
5763
5864
5965
#### Examples

0 commit comments

Comments
 (0)