Freigeben über


CookieState Constructor

 

Namespace:   System.Net.Http.Headers
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

Overload List

Name Description
System_CAPS_pubmethod CookieState(String)

Initializes a new instance of the CookieState class.

System_CAPS_pubmethod CookieState(String, NameValueCollection)

Initializes a new instance of the CookieState class.

System_CAPS_pubmethod CookieState(String, String)

Initializes a new instance of the CookieState class.

See Also

CookieState Class
System.Net.Http.Headers Namespace

Return to top

CookieState Constructor (String)

Initializes a new instance of the CookieState class.

Syntax

public CookieState(
    string name
)
public:
CookieState(
    String^ name
)
new : 
        name:string -> CookieState
Public Sub New (
    name As String
)

Parameters

Return to top

CookieState Constructor (String, NameValueCollection)

Initializes a new instance of the CookieState class.

Syntax

public CookieState(
    string name,
    NameValueCollection values
)
public:
CookieState(
    String^ name,
    NameValueCollection^ values
)
new : 
        name:string *
        values:NameValueCollection -> CookieState
Public Sub New (
    name As String,
    values As NameValueCollection
)

Parameters

Return to top

CookieState Constructor (String, String)

Initializes a new instance of the CookieState class.

Syntax

public CookieState(
    string name,
    string value
)
public:
CookieState(
    String^ name,
    String^ value
)
new : 
        name:string *
        value:string -> CookieState
Public Sub New (
    name As String,
    value As String
)

Parameters

Return to top