ISPCache Members
Include Protected Members
Include Inherited Members
Defines an interface for adding, deleting, and retrieving cached objects.
The ISPCache type exposes the following members.
Methods
Name | Description | |
---|---|---|
Clear | Clears the cache with the specified object type. | |
Delete(String, String) | Deletes a specified object from the cache with the specified object type. | |
Delete(String, String, Boolean) | Deletes a specified object from the cache with the specified object type. | |
DeleteByIndexedValue | Deletes objects with the specified index name-value pair from the cache with the specified object type. | |
Enum | Returns all objects in the cache with the specified object type and stores them in the specified array. | |
EnumObjectList | Returns a List of the names of all the objects in the cache with the specified object type. | |
Get | Returns the object with the specified unique identifier from the cache with the specified object type. | |
GetByIndex | Returns a list of SPCachedObject objects that match the specified index name-value pairs. | |
GetCacheObject | Returns the specified SPCachedObject from the cache with the specified object type. | |
GetItemCount | Returns the number of items in the cache with the specified object type. | |
GetTree | Returns a list of all cached objects under a specified parent object and stores them in a specified List. | |
Put(String, SPCachedObject) | Writes the specified object to the cache with the specified object type. | |
Put(String, []) | Writes the objects in the specified array to the cache with the specified object type. | |
Trim() | Trims all caches of objects whose expiration date is in the past. | |
Trim(DateTime) | Trims all caches of objects whose expiration dates preceded the specified DateTime. | |
Trim(String, DateTime) | Trims the cache with the specified object type of all objects whose expiration date precedes the specified DateTime. |
Top