Поделиться через


MemoryBackedCacheBase<TCacheEntry>.DoGetCount Method

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The latest Enterprise Library information can be found at the Enterprise Library site.

Gets the total number of cache entries in the cache.

Namespace: Microsoft.Practices.EnterpriseLibrary.Caching.InMemory
Assembly: Microsoft.Practices.EnterpriseLibrary.Caching.Silverlight (in Microsoft.Practices.EnterpriseLibrary.Caching.Silverlight.dll) Version: 5.0.505.0

Syntax

protected int DoGetCount()
'Declaration
Protected Function DoGetCount As Integer
protected:
int DoGetCount()

Return Value

The number of cache entries in the cache. If regionName is not Nothing, the count indicates the number of entries that are in the specified cache region.

See Also

MemoryBackedCacheBase<TCacheEntry> Class

Microsoft.Practices.EnterpriseLibrary.Caching.InMemory Namespace