WebView2CompositionControl.NavigateToString(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initiates a navigation to htmlContent as source HTML of a new document. Equivalent to calling NavigateToString(String).
public void NavigateToString (string htmlContent);
abstract member NavigateToString : string -> unit
override this.NavigateToString : string -> unit
Public Sub NavigateToString (htmlContent As String)
Parameters
- htmlContent
- String