IVsToolbox6::IsTabVisible Method (String^, Boolean)

 

Indicates whether the specified tab is visible (for example, has any enabled items) in the current context.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)

bool IsTabVisible(
	String^ szID,
	bool fRefresh
)

Parameters

szID
Type: System::String^

[in] The identifier of the tab to check for visibility.

fRefresh
Type: System::Boolean

[in] Specifies how to handle the tab’s state. If this parameter is false, the last-known visible state of the tab will be returned, which should match what is shown in the UI. If this parameter is true, the tab's visibility will be re-evaluated based on its items, so the most up-to-date status will be returned; but that may not match what is shown in the UI yet.

Return Value

Type: System::Boolean

true if the tab is visible, or false if the tab is invisible.

Return to top
Show: