WebBrowserExtensions.ClearCookiesAsync Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Clears the cookies associated with the specified web browser control asynchronously.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
'Declaration <ExtensionAttribute> _ Public Shared Function ClearCookiesAsync ( _ browserControl As WebBrowser _ ) As Task
Parameters
- browserControl
- Type: Microsoft.Phone.Controls.WebBrowser
The web browser control to clear cookies for.
Return Value
Type: System.Threading.Tasks.TaskAn asynchronous result that represents the clear cookie operation.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type WebBrowser. When you use instance method syntax to call this method, omit the first parameter.
Show: