Skip to main content

GetTab

Description

Gets the tab with the specified tab id.

Syntax

// shellPaneContainer points to instance of IShellPaneContainer
const result = await shellPaneContainer.GetTab(TabId);

Parameters

NameTypeDescription
TabIdstringThe 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

TypeDescription
Promise < IShellPaneTab >It returns MFCLIENTSCRIPT~ISHELLPANECONTAINER~GETTAB.