Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Initializes a new instance of the HtmlDocument class. This constructor takes a string and uses it as the document.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Sub New ( _
documentLocation As Uri, _
documentContent As String _
)
public HtmlDocument(
Uri documentLocation,
string documentContent
)
public:
HtmlDocument(
Uri^ documentLocation,
String^ documentContent
)
new :
documentLocation:Uri *
documentContent:string -> HtmlDocument
public function HtmlDocument(
documentLocation : Uri,
documentContent : String
)
Parameters
documentLocation
Type: UriA URI representing the document location.
documentContent
Type: StringThe contents of the document.
.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.