System.Web.Caching.Cache.GetEnumerator Method

Retrieves a dictionary enumerator used to iterate through the key settings and their values contained in the cache.

Syntax

public IDictionaryEnumerator GetEnumerator ()

Returns

An enumerator to iterate through the System.Web.Caching.Cache object.

Remarks

Items can be added to or removed from the cache while this method is enumerating through the items.

Requirements

Namespace: System.Web.Caching
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0