NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HttpCookieCollection.Add

Adds a cookie to the collection.

[Visual Basic]
Public Sub Add( _
   ByVal cookie As HttpCookie _
)
[C#]
public void Add(
   HttpCookie cookie
);
[C++]
public: void Add(
   HttpCookie* cookie
);
[JScript]
public function Add(
   cookie : HttpCookie
);

Parameters

cookie
HttpCookie value to be added to the collection

Return Value

None

See Also

HttpCookieCollection Class | HttpCookieCollection Members | System.Web Namespace