Export (0) Print
Expand All

CookieCollection Members

CookieCollection overview

Public Constructors

public constructorCookieCollection Constructor Initializes a new instance of the CookieCollection class.

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.

Public Methods

public methodAdd Overloaded. Adds a Cookie to a CookieCollection.
public methodCopyTo Copies the elements of a CookieCollection to an instance of the Array class, starting at a particular index.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetEnumerator Gets an enumerator that can iterate through a CookieCollection.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodToString (inherited from Object) Returns a String that represents the current Object.

Protected Methods

protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

CookieCollection Class | System.Net Namespace

Show:
© 2014 Microsoft