BrowserService.TopLevelWindow Property
Gets the top-level window of the browser.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
Public MustOverride ReadOnly Property TopLevelWindow As UITechnologyElement
public abstract UITechnologyElement TopLevelWindow { get; }
public:
virtual property UITechnologyElement^ TopLevelWindow {
UITechnologyElement^ get () abstract;
}
abstract TopLevelWindow : UITechnologyElement
abstract function get TopLevelWindow () : UITechnologyElement
Property Value
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElement
The top-level window of the browser.
.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.