SetOptionState
Description
Sets the state of the specified option.
Syntax
// searchPane points to instance of ISearchPane
await searchPane.SetOptionState(SectionID, OptionID, state);
Parameters
| Name | Optionality | Type | Description |
|---|---|---|---|
| SectionID | Required | string | The ID of the section. |
| OptionID | Required | string | The ID of the option to select/deselect. Note that this is the ID of the option (as specified in the "id" property of the option), and NOT the array index of the option. |
| state | Required | boolean | Specifies the new state of the option (selected/deselected). |
Return type
| Type | Description |
|---|---|
| Promise < void > | Method does not return a value |