CacheStoreProvider.Trim(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes a specified percentage of cache entries.
public:
abstract long Trim(int percent);
public abstract long Trim (int percent);
abstract member Trim : int -> int64
Public MustOverride Function Trim (percent As Integer) As Long
Parameters
- percent
- Int32
The percentage of total cache entries to remove.
Returns
The specified percentage of cache entries removed from the cache.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.