BrowserHelper.IsBrowserDocumentWindow Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
IsBrowserDocumentWindow(UITechnologyElement) |
Determines whether the provided element is the browser document window. |
IsBrowserDocumentWindow(IntPtr) |
Determines whether the provided window handle refers to the browser document window. |
IsBrowserDocumentWindow(UITechnologyElement)
Determines whether the provided element is the browser document window.
public:
abstract bool IsBrowserDocumentWindow(Microsoft::VisualStudio::TestTools::UITest::Extension::UITechnologyElement ^ element);
public abstract bool IsBrowserDocumentWindow (Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElement element);
abstract member IsBrowserDocumentWindow : Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElement -> bool
Public MustOverride Function IsBrowserDocumentWindow (element As UITechnologyElement) As Boolean
Parameters
- element
- UITechnologyElement
An UITechnologyElement object.
Returns
true if the provided element is the browser document window; otherwise, false.
Applies to
IsBrowserDocumentWindow(IntPtr)
Determines whether the provided window handle refers to the browser document window.
public:
abstract bool IsBrowserDocumentWindow(IntPtr windowHandle);
public abstract bool IsBrowserDocumentWindow (IntPtr windowHandle);
abstract member IsBrowserDocumentWindow : nativeint -> bool
Public MustOverride Function IsBrowserDocumentWindow (windowHandle As IntPtr) As Boolean
Parameters
Returns
true if the designated window is the browser document window; otherwise, false.