CookieDictionary Class Methods

The CookieDictionary class exposes the following methods:

clone creates a copy of the dictionary.
elements returns an IEnumerator object that contains the items in the dictionary.
get returns an item from the dictionary.
getCookie retrieves a cookie from the dictionary.
getCount retrieves the number of cookies in the dictionary.
hasMoreItems returns a boolean indicating whether there are more items in the dictionary.
isEmpty returns a boolean indicating whether there are any items in the dictionary.
keys returns an IEnumerator object that contains the key values for the dictionary.
nextItem returns the next item stored in an enumerator.
put adds an item to the dictionary.
remove method is not supported.
reset returns to the first item in the dictionary.
size returns an integer indicating the number of items in the dictionary.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.