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 Methods

The methods of the HttpCookieCollection class are listed below. For a complete list of HttpCookieCollection class members, see the HttpCookieCollection Members topic.

Public:

Add Adds a cookie to the collection.
Clear Clears all cookies from the collection.
Equals (inherited from Object) Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality).
Get Overloaded. Returns an individual HttpCookie object.
GetEnumerator (inherited from NameObjectCollectionBase) [To be supplied.]
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 key name from collection.
GetType (inherited from Object) Gets the Type of the Object.
Remove Removes a cookie from the collection.
Set Updates an HttpCookie value within the collection.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected:

BaseAdd (inherited from NameObjectCollectionBase) [To be supplied.]
BaseClear (inherited from NameObjectCollectionBase) [To be supplied.]
BaseGet (inherited from NameObjectCollectionBase) Overloaded. [To be supplied.]
BaseGetAllKeys (inherited from NameObjectCollectionBase) [To be supplied.]
BaseGetAllValues (inherited from NameObjectCollectionBase) Overloaded. [To be supplied.]
BaseGetKey (inherited from NameObjectCollectionBase) [To be supplied.]
BaseHasKeys (inherited from NameObjectCollectionBase) [To be supplied.]
BaseRemove (inherited from NameObjectCollectionBase) Overloaded. [To be supplied.]
BaseSet (inherited from NameObjectCollectionBase) Overloaded. [To be supplied.]
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

HttpCookieCollection Class | System.Web Namespace