BrowserHelper.IsBrowserDocumentWindow Method (IntPtr)
Determines whether the provided window handle refers to the browser document window.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
Public MustOverride Function IsBrowserDocumentWindow ( _
windowHandle As IntPtr _
) As Boolean
public abstract bool IsBrowserDocumentWindow(
IntPtr windowHandle
)
public:
virtual bool IsBrowserDocumentWindow(
IntPtr windowHandle
) abstract
abstract IsBrowserDocumentWindow :
windowHandle:IntPtr -> bool
public abstract function IsBrowserDocumentWindow(
windowHandle : IntPtr
) : boolean
Parameters
windowHandle
Type: IntPtrAn IntPtr that represents the window handle.
Return Value
Type: Boolean
true if the designated window is the browser document window; otherwise, false.
.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.
See Also
Reference
IsBrowserDocumentWindow Overload