Share via


CookieBrowserOverrideStore Class

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets overridden user agent for a request from a cookie. Creates a cookie to set the overridden user agent.

Inheritance Hierarchy

System.Object
  System.Web.WebPages.BrowserOverrideStore
    System.Web.WebPages.CookieBrowserOverrideStore

Namespace:  System.Web.WebPages
Assembly:  System.Web.WebPages (in System.Web.WebPages.dll)

Syntax

'Declaration
Public Class CookieBrowserOverrideStore _
    Inherits BrowserOverrideStore
'Usage
Dim instance As CookieBrowserOverrideStore
public class CookieBrowserOverrideStore : BrowserOverrideStore
public ref class CookieBrowserOverrideStore : public BrowserOverrideStore
type CookieBrowserOverrideStore =  
    class 
        inherit BrowserOverrideStore 
    end
public class CookieBrowserOverrideStore extends BrowserOverrideStore

The CookieBrowserOverrideStore type exposes the following members.

Constructors

  Name Description
Public method CookieBrowserOverrideStore() This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the CookieBrowserOverrideStore class.
Public method CookieBrowserOverrideStore(Int32) This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the CookieBrowserOverrideStore class.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetOverriddenUserAgent This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Looks for a user agent by searching for the browser override cookie. (Overrides BrowserOverrideStore.GetOverriddenUserAgent(HttpContextBase).)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method SetOverriddenUserAgent This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Adds a browser override cookie with the set user agent to the response of the current request. (Overrides BrowserOverrideStore.SetOverriddenUserAgent(HttpContextBase, String).)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Web.WebPages Namespace