ICookieManagerDeleteCookies Method |
Version 57.0.0
Deletes all cookies that matches all the provided parameters. If both url and name are empty, all cookies will be deleted.
Must be run on the CEF IO Thread
Namespace: CefSharpAssembly: CefSharp (in CefSharp.dll) Version: 57.0.0.0 (57.0.0.0)
Syntax bool DeleteCookies(
string url,
string name,
IDeleteCookiesCallback callback = null
)
bool DeleteCookies(
String^ url,
String^ name,
IDeleteCookiesCallback^ callback = nullptr
)
Parameters
- url
- Type: SystemString
The cookie URL. If an empty string is provided, any URL will be matched. - name
- Type: SystemString
The name of the cookie. If an empty string is provided, any URL will be matched. - callback (Optional)
- Type: CefSharpIDeleteCookiesCallback
If non-NULL it will be executed asnychronously on the CEF IO thread after the cookies have been deleted.
Return Value
Type:
Boolean[Missing <returns> documentation for "M:CefSharp.ICookieManager.DeleteCookies(System.String,System.String,CefSharp.IDeleteCookiesCallback)"]
See Also