System.Net.CookieCollection Members

The members of System.Net.CookieCollection are listed below.

See Also: Inherited members from System.Object

Public Constructors

Initializes a new instance of the System.Net.CookieCollection class.

Public Properties

[read-only]
Countint.

Gets the number of cookies contained in a System.Net.CookieCollection.

[read-only]
IsReadOnlybool.

Gets a value that indicates whether a System.Net.CookieCollection is read-only.

[read-only]
IsSynchronizedbool.

Gets a value that indicates whether access to a System.Net.CookieCollection is thread safe.

[read-only]
default property
Item(int)Cookie. Documentation for this section has not yet been entered.
[read-only]
default property
Item(string)Cookie. Documentation for this section has not yet been entered.
[read-only]
SyncRootobject.

Gets an object to synchronize access to the System.Net.CookieCollection.

Public Methods

Add(Cookie)

Adds a System.Net.Cookie to a System.Net.CookieCollection.

Add(CookieCollection)

Adds the contents of a System.Net.CookieCollection to the current instance.

CopyTo(Array, int)

Copies the elements of a System.Net.CookieCollection to an instance of the Array class, starting at a particular index.

CopyTo(Cookie[], int)

Copies the elements of this System.Net.CookieCollection to a System.Net.Cookie array starting at the specified index of the target array.

GetEnumerator() : IEnumerator

Gets an enumerator that can iterate through a System.Net.CookieCollection.