Gets the number of items stored in the cache. 
             
             
             
            
Syntax
| Visual Basic (Declaration) |   | 
|---|
Public ReadOnly Property Count As Integer  | 
 
| Visual Basic (Usage) |  Copy Code | 
|---|
Dim instance As Cache
Dim value As Integer
 
value = instance.Count
  | 
 
| C# |   | 
|---|
public int Count {get;} | 
 
| C++/CLI |   | 
|---|
public:
property int Count {
   int get();
} | 
 
             
             
            Return Value
            The number of items stored in the cache.
            
  
             
             
             
             
            
            
            
Requirements
Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Vista, Windows Server 2003 family, Windows Server 2008 family
 
            
            
See Also