This documentation is archived and is not being maintained.
.NET Framework 1.1
The methods of the Cache class are listed here. For a complete list of Cache class members, see the Cache Members topic.
|Add||Adds the specified item to the Cache object with dependencies, expiration and priority policies, and a delegate you can use to notify your application when the inserted item is removed from the Cache.|
|Equals (inherited from Object)||Overloaded. Determines whether two Object instances are equal.|
|Get||Retrieves the specified item from the Cache object.|
|GetEnumerator||Retrieves a dictionary enumerator used to iterate through the key settings and their values contained in the cache.|
|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.|
|GetType (inherited from Object)||Gets the Type of the current instance.|
|Insert||Overloaded. Inserts an item into the Cache object. Use one of the versions of this method to overwrite an existing Cache item with the same key parameter.|
|Remove||Removes the specified item from the application's Cache object.|
|ToString (inherited from Object)||Returns a String that represents the current Object.|
|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.|