WebBrowserExtensionsLoadString Method |
Version 75.1.140
Load the string contents with the specified dummy url. Web security restrictions may not behave as expected.
Namespace:
CefSharp
Assembly:
CefSharp (in CefSharp.dll) Version: 75.1.140.0 (75.1.140.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