BrowserHelper.IsBrowserDocumentWindow Method (UITechnologyElement)
Determines whether the provided element is 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 ( _
element As UITechnologyElement _
) As Boolean
public abstract bool IsBrowserDocumentWindow(
UITechnologyElement element
)
public:
virtual bool IsBrowserDocumentWindow(
UITechnologyElement^ element
) abstract
abstract IsBrowserDocumentWindow :
element:UITechnologyElement -> bool
public abstract function IsBrowserDocumentWindow(
element : UITechnologyElement
) : boolean
Parameters
element
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElementAn UITechnologyElement object.
Return Value
Type: Boolean
true if the provided element 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