UtilWebConvertHtmlPageToHtmlDocument Method
Converts a string containing an Html source-code to an HtmlDocument.
Namespace: DevCase.Core.Networking.CommonAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static HtmlDocument ConvertHtmlPageToHtmlDocument(
string sourceCode
)
Public Shared Function ConvertHtmlPageToHtmlDocument (
sourceCode As String
) As HtmlDocument
Dim sourceCode As String
Dim returnValue As HtmlDocument
returnValue = UtilWeb.ConvertHtmlPageToHtmlDocument(sourceCode)
public:
static HtmlDocument^ ConvertHtmlPageToHtmlDocument(
String^ sourceCode
)
static member ConvertHtmlPageToHtmlDocument :
sourceCode : string -> HtmlDocument
No code example is currently available or this language may not be supported.
- sourceCode String
-
The Html source-code.
HtmlDocument
The resulting
HtmlDocument instance.
This is a code example.
No code example is currently available or this language may not be supported.
Dim html As String = DownloadHtmlPage("http://www.elhacker.net/")
Dim htmlDoc As HtmlDocument = ConvertHtmlPageToHtmlDocument(html)
Console.WriteLine(htmlDoc.Body.OuterText)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.