File tree Expand file tree Collapse file tree 18 files changed +351
-1
lines changed Expand file tree Collapse file tree 18 files changed +351
-1
lines changed Original file line number Diff line number Diff line change @@ -140,6 +140,27 @@ methods:
140
140
mode](https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points)<!--
141
141
-->**: Compose or Read
142
142
143
+
144
+ #### Examples
145
+
146
+
147
+ ```TypeScript
148
+
149
+ // Link to full sample:
150
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/outlook/10-roaming-settings/roaming-settings.yaml
151
+
152
+
153
+ // Remove the specified setting from the mailbox.
154
+
155
+ const settingName = (document.getElementById("settingName") as
156
+ HTMLInputElement).value;
157
+
158
+ Office.context.roamingSettings.remove(settingName);
159
+
160
+ console.log(`The "${settingName}" setting has been removed.`);
161
+
162
+ ```
163
+
143
164
isPreview : false
144
165
isDeprecated : false
145
166
syntax :
Original file line number Diff line number Diff line change @@ -140,6 +140,27 @@ methods:
140
140
mode](https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points)<!--
141
141
-->**: Compose or Read
142
142
143
+
144
+ #### Examples
145
+
146
+
147
+ ```TypeScript
148
+
149
+ // Link to full sample:
150
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/outlook/10-roaming-settings/roaming-settings.yaml
151
+
152
+
153
+ // Remove the specified setting from the mailbox.
154
+
155
+ const settingName = (document.getElementById("settingName") as
156
+ HTMLInputElement).value;
157
+
158
+ Office.context.roamingSettings.remove(settingName);
159
+
160
+ console.log(`The "${settingName}" setting has been removed.`);
161
+
162
+ ```
163
+
143
164
isPreview : false
144
165
isDeprecated : false
145
166
syntax :
Original file line number Diff line number Diff line change @@ -140,6 +140,27 @@ methods:
140
140
mode](https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points)<!--
141
141
-->**: Compose or Read
142
142
143
+
144
+ #### Examples
145
+
146
+
147
+ ```TypeScript
148
+
149
+ // Link to full sample:
150
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/outlook/10-roaming-settings/roaming-settings.yaml
151
+
152
+
153
+ // Remove the specified setting from the mailbox.
154
+
155
+ const settingName = (document.getElementById("settingName") as
156
+ HTMLInputElement).value;
157
+
158
+ Office.context.roamingSettings.remove(settingName);
159
+
160
+ console.log(`The "${settingName}" setting has been removed.`);
161
+
162
+ ```
163
+
143
164
isPreview : false
144
165
isDeprecated : false
145
166
syntax :
Original file line number Diff line number Diff line change @@ -140,6 +140,27 @@ methods:
140
140
mode](https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points)<!--
141
141
-->**: Compose or Read
142
142
143
+
144
+ #### Examples
145
+
146
+
147
+ ```TypeScript
148
+
149
+ // Link to full sample:
150
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/outlook/10-roaming-settings/roaming-settings.yaml
151
+
152
+
153
+ // Remove the specified setting from the mailbox.
154
+
155
+ const settingName = (document.getElementById("settingName") as
156
+ HTMLInputElement).value;
157
+
158
+ Office.context.roamingSettings.remove(settingName);
159
+
160
+ console.log(`The "${settingName}" setting has been removed.`);
161
+
162
+ ```
163
+
143
164
isPreview : false
144
165
isDeprecated : false
145
166
syntax :
Original file line number Diff line number Diff line change @@ -140,6 +140,27 @@ methods:
140
140
mode](https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points)<!--
141
141
-->**: Compose or Read
142
142
143
+
144
+ #### Examples
145
+
146
+
147
+ ```TypeScript
148
+
149
+ // Link to full sample:
150
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/outlook/10-roaming-settings/roaming-settings.yaml
151
+
152
+
153
+ // Remove the specified setting from the mailbox.
154
+
155
+ const settingName = (document.getElementById("settingName") as
156
+ HTMLInputElement).value;
157
+
158
+ Office.context.roamingSettings.remove(settingName);
159
+
160
+ console.log(`The "${settingName}" setting has been removed.`);
161
+
162
+ ```
163
+
143
164
isPreview : false
144
165
isDeprecated : false
145
166
syntax :
Original file line number Diff line number Diff line change @@ -140,6 +140,27 @@ methods:
140
140
mode](https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points)<!--
141
141
-->**: Compose or Read
142
142
143
+
144
+ #### Examples
145
+
146
+
147
+ ```TypeScript
148
+
149
+ // Link to full sample:
150
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/outlook/10-roaming-settings/roaming-settings.yaml
151
+
152
+
153
+ // Remove the specified setting from the mailbox.
154
+
155
+ const settingName = (document.getElementById("settingName") as
156
+ HTMLInputElement).value;
157
+
158
+ Office.context.roamingSettings.remove(settingName);
159
+
160
+ console.log(`The "${settingName}" setting has been removed.`);
161
+
162
+ ```
163
+
143
164
isPreview : false
144
165
isDeprecated : false
145
166
syntax :
Original file line number Diff line number Diff line change @@ -140,6 +140,27 @@ methods:
140
140
mode](https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points)<!--
141
141
-->**: Compose or Read
142
142
143
+
144
+ #### Examples
145
+
146
+
147
+ ```TypeScript
148
+
149
+ // Link to full sample:
150
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/outlook/10-roaming-settings/roaming-settings.yaml
151
+
152
+
153
+ // Remove the specified setting from the mailbox.
154
+
155
+ const settingName = (document.getElementById("settingName") as
156
+ HTMLInputElement).value;
157
+
158
+ Office.context.roamingSettings.remove(settingName);
159
+
160
+ console.log(`The "${settingName}" setting has been removed.`);
161
+
162
+ ```
163
+
143
164
isPreview : false
144
165
isDeprecated : false
145
166
syntax :
Original file line number Diff line number Diff line change @@ -140,6 +140,27 @@ methods:
140
140
mode](https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points)<!--
141
141
-->**: Compose or Read
142
142
143
+
144
+ #### Examples
145
+
146
+
147
+ ```TypeScript
148
+
149
+ // Link to full sample:
150
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/outlook/10-roaming-settings/roaming-settings.yaml
151
+
152
+
153
+ // Remove the specified setting from the mailbox.
154
+
155
+ const settingName = (document.getElementById("settingName") as
156
+ HTMLInputElement).value;
157
+
158
+ Office.context.roamingSettings.remove(settingName);
159
+
160
+ console.log(`The "${settingName}" setting has been removed.`);
161
+
162
+ ```
163
+
143
164
isPreview : false
144
165
isDeprecated : false
145
166
syntax :
Original file line number Diff line number Diff line change @@ -140,6 +140,27 @@ methods:
140
140
mode](https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points)<!--
141
141
-->**: Compose or Read
142
142
143
+
144
+ #### Examples
145
+
146
+
147
+ ```TypeScript
148
+
149
+ // Link to full sample:
150
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/outlook/10-roaming-settings/roaming-settings.yaml
151
+
152
+
153
+ // Remove the specified setting from the mailbox.
154
+
155
+ const settingName = (document.getElementById("settingName") as
156
+ HTMLInputElement).value;
157
+
158
+ Office.context.roamingSettings.remove(settingName);
159
+
160
+ console.log(`The "${settingName}" setting has been removed.`);
161
+
162
+ ```
163
+
143
164
isPreview : false
144
165
isDeprecated : false
145
166
syntax :
Original file line number Diff line number Diff line change @@ -140,6 +140,27 @@ methods:
140
140
mode](https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points)<!--
141
141
-->**: Compose or Read
142
142
143
+
144
+ #### Examples
145
+
146
+
147
+ ```TypeScript
148
+
149
+ // Link to full sample:
150
+ https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/outlook/10-roaming-settings/roaming-settings.yaml
151
+
152
+
153
+ // Remove the specified setting from the mailbox.
154
+
155
+ const settingName = (document.getElementById("settingName") as
156
+ HTMLInputElement).value;
157
+
158
+ Office.context.roamingSettings.remove(settingName);
159
+
160
+ console.log(`The "${settingName}" setting has been removed.`);
161
+
162
+ ```
163
+
143
164
isPreview : false
144
165
isDeprecated : false
145
166
syntax :
You can’t perform that action at this time.
0 commit comments