C-DEngine 5.105

CookieCollection..::..Add Method (Cookie)

Adds the specified cookie to the collection.

Namespace:  WebSocketSharp.Net
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public void Add(
	Cookie cookie
)
Public Sub Add ( _
	cookie As Cookie _
)
public:
void Add(
	Cookie^ cookie
)

Parameters

cookie
Type: WebSocketSharp.Net..::..Cookie
A Cookie to add.

Exceptions


ExceptionCondition
ArgumentNullExceptioncookie is nullNothingnullptra null reference (Nothing in Visual Basic).