WebBrowserExtensionsLoadString Method |
Version 63.0.0
Load the string contents with the specified dummy url. Web security restrictions may not behave as expected.
Namespace: CefSharpAssembly: CefSharp (in CefSharp.dll) Version: 63.0.0.0 (63.0.0.0)
Syntax public static void LoadString(
this IWebBrowser browser,
string html,
string url
)
public:
[ExtensionAttribute]
static void LoadString(
IWebBrowser^ browser,
String^ html,
String^ url
)
Parameters
- browser
- Type: CefSharpIWebBrowser
The ChromiumWebBrowser instance this method extends - html
- Type: SystemString
html string to load - url
- Type: SystemString
the url should have a standard scheme (for example, http scheme) or behaviors like link clicks
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IWebBrowser. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also