Compartilhar via


HttpResponseBase.AppendCookie(HttpCookie) Método

Definição

Adiciona um cookie HTTP à coleção de cookies da resposta HTTP.

public:
 virtual void AppendCookie(System::Web::HttpCookie ^ cookie);
public virtual void AppendCookie (System.Web.HttpCookie cookie);
abstract member AppendCookie : System.Web.HttpCookie -> unit
override this.AppendCookie : System.Web.HttpCookie -> unit
Public Overridable Sub AppendCookie (cookie As HttpCookie)

Parâmetros

cookie
HttpCookie

O cookie para adicionar à resposta.

Exceções

Aplica-se a