WKWebView.LoadHtmlString 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.
Overloads
LoadHtmlString(NSString, NSUrl) |
Loads the specified HTML as the contents of the Web page. |
LoadHtmlString(String, NSUrl) |
LoadHtmlString(NSString, NSUrl)
Loads the specified HTML as the contents of the Web page.
[Foundation.Export("loadHTMLString:baseURL:")]
public virtual WebKit.WKNavigation LoadHtmlString (Foundation.NSString htmlString, Foundation.NSUrl baseUrl);
abstract member LoadHtmlString : Foundation.NSString * Foundation.NSUrl -> WebKit.WKNavigation
override this.LoadHtmlString : Foundation.NSString * Foundation.NSUrl -> WebKit.WKNavigation
Parameters
- htmlString
- NSString
The string to use as the contents of the webpage.
- baseUrl
- NSUrl
A URL that is used to resolve relative URLs within the document.
This parameter can be null
.
Returns
A new navigation.
- Attributes