ISchemeRegistrarAddCustomScheme Method |
Version 130.1.90
Register a custom scheme. This method should not be called for the built-in
HTTP, HTTPS, FILE, FTP, ABOUT and DATA schemes.
See
SchemeOptions for possible values for
schemeOptions
This function may be called on any thread. It should only be called once
per unique
schemeName value.
Namespace: CefSharpAssembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax bool AddCustomScheme(
string schemeName,
SchemeOptions schemeOptions
)
bool AddCustomScheme(
String^ schemeName,
SchemeOptions schemeOptions
)
Parameters
- schemeName String
- scheme name
- schemeOptions SchemeOptions
- scheme options
Return Value
BooleanIf
schemeName is already registered or if an error occurs this method will return false.
See Also