共用方式為


getFocusedTab (應用程式設定檔管理員)

傳回焦點之索引標籤的索引標籤物件。

語法

Microsoft.Apm.getFocusedSession().getFocusedTab();

返回值

索引標籤物件。

Example

const tab = Microsoft.Apm.getFocusedSession().getFocusedTab();
tab.refresh();