Share via


HtmlDocument Constructor (UITestControl)

Initializes a new instance of the HtmlDocument class by using the provided parent control.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.HtmlControls
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
Public Sub New ( _
    parent As UITestControl _
)
public HtmlDocument(
    UITestControl parent
)
public:
HtmlDocument(
    UITestControl^ parent
)
new : 
        parent:UITestControl -> HtmlDocument
public function HtmlDocument(
    parent : UITestControl
)

Parameters

.NET Framework Security

See Also

Reference

HtmlDocument Class

HtmlDocument Overload

Microsoft.VisualStudio.TestTools.UITesting.HtmlControls Namespace

UITestControl