Compartilhar via


ResponseCookieCollection.Append Method

 

Adds a new cookie and value.

Namespace:   Microsoft.Owin
Assembly:  Microsoft.Owin (in Microsoft.Owin.dll)

Overload List

Name Description
System_CAPS_pubmethod Append(String, String)

Add a new cookie and value

System_CAPS_pubmethod Append(String, String, CookieOptions)

Add a new cookie

See Also

ResponseCookieCollection Class
Microsoft.Owin Namespace

Return to top

ResponseCookieCollection.Append Method (String, String)

Add a new cookie and value

Syntax

public void Append(
    string key,
    string value
)
public:
void Append(
    String^ key,
    String^ value
)
member Append : 
        key:string *
        value:string -> unit
Public Sub Append (
    key As String,
    value As String
)

Parameters

Return to top

ResponseCookieCollection.Append Method (String, String, CookieOptions)

Add a new cookie

Syntax

public void Append(
    string key,
    string value,
    CookieOptions options
)
public:
void Append(
    String^ key,
    String^ value,
    CookieOptions^ options
)
member Append : 
        key:string *
        value:string *
        options:CookieOptions -> unit
Public Sub Append (
    key As String,
    value As String,
    options As CookieOptions
)

Parameters

Return to top