WebBrowser.NavigateToString Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Injects an HTML string into the web browser control for rendering.
Namespace: Microsoft.Phone.Controls
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Syntax
Public Sub NavigateToString ( _
html As String _
)
public void NavigateToString(
string html
)
Parameters
- html
Type: System..::.String
The HTML to display in the browser.
Remarks
The html parameter should be formatted as HTML. The text parameter can also contain JavaScript. If there are JavaScript functions contained in the HTML, you can use the InvokeScript method to call the functions from managed code.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0
Platforms
Windows Phone