This documentation is archived and is not being maintained.
HttpCookieCollection Members
.NET Framework 1.1
Public Constructors
HttpCookieCollection Constructor | Initializes a new instance of the HttpCookieCollection class. |
Public Properties
AllKeys | Gets a string array containing all the keys (cookie names) in the cookie collection. |
Count (inherited from NameObjectCollectionBase) | Gets the number of key-and-value pairs contained in the NameObjectCollectionBase instance. |
Item | Overloaded. Gets the cookie with the specified name from the cookie collection. This property is overloaded to allow retrieval of cookies by either name or numerical index.
In C#, this property is the indexer for the HttpCookieCollection class. |
Keys (inherited from NameObjectCollectionBase) | Gets a NameObjectCollectionBase.KeysCollection instance that contains all the keys in the NameObjectCollectionBase instance. |
Public Methods
Add | Adds the specified cookie to the cookie collection. |
Clear | Clears all cookies from the cookie collection. |
CopyTo | Copies members of the cookie collection to an Array beginning at the specified index of the array. |
Equals (inherited from Object) | Overloaded. Determines whether two Object instances are equal. |
GetEnumerator (inherited from NameObjectCollectionBase) | Returns an enumerator that can iterate through the NameObjectCollectionBase. |
GetHashCode (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. |
GetKey | Returns the key (name) of the cookie at the specified numerical index. |
GetObjectData (inherited from NameObjectCollectionBase) | Implements the ISerializable interface and returns the data needed to serialize the NameObjectCollectionBase instance. |
GetType (inherited from Object) | Gets the Type of the current instance. |
OnDeserialization (inherited from NameObjectCollectionBase) | Implements the ISerializable interface and raises the deserialization event when the deserialization is complete. |
Remove | Removes the cookie with the specified name from the collection. |
Set | Updates the value of an existing cookie in a cookie collection. |
ToString (inherited from Object) | Returns a String that represents the current Object. |
Protected Properties
IsReadOnly (inherited from NameObjectCollectionBase) | Gets or sets a value indicating whether the NameObjectCollectionBase instance is read-only. |
Protected Methods
BaseAdd (inherited from NameObjectCollectionBase) | Adds an entry with the specified key and value into the NameObjectCollectionBase instance. |
BaseClear (inherited from NameObjectCollectionBase) | Removes all entries from the NameObjectCollectionBase instance. |
BaseGet (inherited from NameObjectCollectionBase) | Overloaded. Gets the value of the specified entry from the NameObjectCollectionBase instance. |
BaseGetAllKeys (inherited from NameObjectCollectionBase) | Returns a String array that contains all the keys in the NameObjectCollectionBase instance. |
BaseGetAllValues (inherited from NameObjectCollectionBase) | Overloaded. Returns an array that contains all the values in the NameObjectCollectionBase instance. |
BaseGetKey (inherited from NameObjectCollectionBase) | Gets the key of the entry at the specified index of the NameObjectCollectionBase instance. |
BaseHasKeys (inherited from NameObjectCollectionBase) | Gets a value indicating whether the NameObjectCollectionBase instance contains entries whose keys are not a null reference (Nothing in Visual Basic). |
BaseRemove (inherited from NameObjectCollectionBase) | Removes the entries with the specified key from the NameObjectCollectionBase instance. |
BaseRemoveAt (inherited from NameObjectCollectionBase) | Removes the entry at the specified index of the NameObjectCollectionBase instance. |
BaseSet (inherited from NameObjectCollectionBase) | Overloaded. Sets the value of an entry in the NameObjectCollectionBase instance. |
Finalize (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. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
See Also
Show:
