canClose (app profile manager tab)
A Boolean value indicating whether a tab can be closed.
Note
If the canClose property is set to false, then the button to close the tab is hidden. Otherwise, the close button is visible.
Return value
None.
Example
const tab = Microsoft.Apm.getFocusedSession().getFocusedTab();
if (tab.canClose) {
tab.close();
}
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk