Cache<TKey,TValue> Constructor(Int32)
See Also 
SourceCode.Caching Namespace > Cache<TKey,TValue> Class > Cache<TKey,TValue> Constructor : Cache<TKey,TValue> Constructor(Int32)



capacity

Glossary Item Box

Syntax

Visual Basic (Declaration)  
Public Function New( _
   ByVal capacity As Integer _
)
Visual Basic (Usage) Copy Code
Dim capacity As Integer
 
Dim instance As New Cache(Of TKey,TValue)(capacity)
C#  
public Cache<TKey,TValue>( 
   int capacity
)
C++/CLI  
public:
Cache<TKey,TValue>( 
   int capacity
)

Parameters

capacity

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also