GetTab
Description
Gets the tab with the specified tab id.
Syntax
// shellPaneContainer points to instance of IShellPaneContainer
const result = await shellPaneContainer.GetTab(TabId);
Parameters
| Name | Optionality | Type | Description |
|---|---|---|---|
| TabId | Required | string | The id of the tab to get. Can refer to built-in tab or another custom-created tab. See Using Tabs in Shell Frame Side Pane Tabs for a list of built-in tab identifiers. |
Return type
| Type | Description |
|---|---|
| Promise < IShellPaneTab > | Returns the tab with the specified tab id. |