Share via


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

Return Value

Type: System.Boolean
true if the designated window is the browser document window; otherwise, false.

.NET Framework Security

See Also

Reference

BrowserHelper Class

IsBrowserDocumentWindow Overload

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

IntPtr