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();
}
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for