ExtensionMethods.IsTopmost Method
Determines if an HWND is a topmost window.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
声明
Public Shared Function IsTopmost ( _
hWnd As IntPtr _
) As Boolean
用法
Dim hWnd As IntPtr
Dim returnValue As Boolean
returnValue = ExtensionMethods.IsTopmost(hWnd)
public static bool IsTopmost(
IntPtr hWnd
)
public:
static bool IsTopmost(
IntPtr hWnd
)
static member IsTopmost :
hWnd:IntPtr -> bool
public static function IsTopmost(
hWnd : IntPtr
) : boolean
Parameters
- hWnd
Type: System.IntPtr
The HWND to test.
Return Value
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.