ISchemeRegistrarAddCustomScheme Method |
Version 81.3.100
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:
CefSharp
Assembly:
CefSharp (in CefSharp.dll) Version: 81.3.100.0 (81.3.100.0)
Syntax bool AddCustomScheme(
string schemeName,
SchemeOptions schemeOptions
)
bool AddCustomScheme(
String^ schemeName,
SchemeOptions schemeOptions
)
Parameters
- schemeName
- Type: SystemString
scheme name - schemeOptions
- Type: CefSharp.EnumsSchemeOptions
scheme options
Return Value
Type:
BooleanIf
schemeName is already registered or if an error occurs this method will return false.
See Also