Share via


WebBrowserExtensions.GetCookies Method

Namespace:  Microsoft.Phone.Controls
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function GetCookies ( _
    browserControl As WebBrowser _
) As CookieCollection
public static CookieCollection GetCookies(
    this WebBrowser browserControl
)
[ExtensionAttribute]
public:
static CookieCollection^ GetCookies(
    WebBrowser^ browserControl
)
static member GetCookies : 
        browserControl:WebBrowser -> CookieCollection

Parameters

Return Value

Type: System.Net.CookieCollection

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. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Version Information

.NET for Windows Phone apps

Supported in: Windows Phone 8, Silverlight 8.1

.NET Framework Security

See Also

Reference

WebBrowserExtensions Class

Microsoft.Phone.Controls Namespace