CacheStoreProvider::Trim Method (Int32)

 

Removes a specified percentage of cache entries.

Namespace:   System.Web.Caching
Assembly:  System.Web (in System.Web.dll)

public:
virtual long long Trim(
	int percent
) abstract

Parameters

percent
Type: System::Int32

The percentage of total cache entries to remove.

Return Value

Type: System::Int64

The specified percentage of cache entries removed from the cache.

.NET Framework
Available since 4.7
Return to top
Show: