Add Method (ResponseCookie)

HttpServer.dll

Adds a cookie in the collection.

Namespace:  HttpServer
Assembly:  HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public void Add(
	ResponseCookie cookie
)
Visual Basic (Declaration)
Public Sub Add ( _
	cookie As ResponseCookie _
)
Visual C++
public:
void Add(
	ResponseCookie^ cookie
)

Parameters

cookie
Type: HttpServer..::.ResponseCookie
cookie to add

Exceptions

ExceptionCondition
System..::.ArgumentNullExceptioncookie is null

See Also