







![]() ![]() |
C# Webserver |
ResponseCookies..::.Add Method (ResponseCookie) |
ResponseCookies Class See Also Send Feedback |
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
Exception | Condition |
---|---|
System..::.ArgumentNullException | cookie is null |