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