This documentation is archived and is not being maintained.

CookieCollection Properties

The properties of the CookieCollection class are listed here. For a complete list of CookieCollection class members, see the CookieCollection Members topic.

Public Properties

public propertyCount Gets the number of cookies contained in a CookieCollection.
public propertyIsReadOnly Gets a value indicating whether a CookieCollection is read-only.
public propertyIsSynchronized Gets a value indicating whether access to a CookieCollection is thread safe.
public propertyItem Overloaded. Gets a specific Cookie from a CookieCollection.

In C#, this property is the indexer for the CookieCollection class.

public propertySyncRoot Gets an object that you can use to synchronize access to the CookieCollection.

See Also

CookieCollection Class | System.Net Namespace