共用方式為


IVsWindowFrame.IsVisible Method

Definition

Determines whether or not the window is visible.

public:
 int IsVisible();
public:
 int IsVisible();
int IsVisible();
public int IsVisible ();
abstract member IsVisible : unit -> int
Public Function IsVisible () As Integer

Returns

Returns S_OK if the window is visible, otherwise returns S_FALSE.

Remarks

IsVisible checks to see if a window hosted by the Visual Studio IDE can be visible, taking into consideration whether the instance of the Visual Studio IDE is minimized or obscured.

IsVisible differs from the behavior of IsWindowVisible a method that may return true even if the window is completely obscured or minimized. IsVisible differs from IsOnScreen which checks to see if a window has been autohidden by the IDE, or if the window is part of a tabbed display and currently obscured by another tab.

Applies to