Condividi tramite


IVsWindowFrame.IsVisible Method

Determines whether or not the window is visible.

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

Syntax

'Declaration
Function IsVisible As Integer
int IsVisible()
int IsVisible()
abstract IsVisible : unit -> int
function IsVisible() : int

Return Value

Type: Int32
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.

.NET Framework Security

See Also

Reference

IVsWindowFrame Interface

Microsoft.VisualStudio.Shell.Interop Namespace