Udostępnij za pośrednictwem


IVsToolbox6.IsTabVisible(String, Boolean) Method

Definition

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

public:
 bool IsTabVisible(System::String ^ szID, bool fRefresh);
public:
 bool IsTabVisible(Platform::String ^ szID, bool fRefresh);
bool IsTabVisible(std::wstring const & szID, bool fRefresh);
public bool IsTabVisible (string szID, bool fRefresh);
abstract member IsTabVisible : string * bool -> bool
Public Function IsTabVisible (szID As String, fRefresh As Boolean) As Boolean

Parameters

szID
String

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

fRefresh
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.

Returns

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

Applies to