SetValue Method
See Also 
SourceCode.Caching Namespace > Cache<TKey,TValue> Class : SetValue Method



key
value

Glossary Item Box

Syntax

Visual Basic (Declaration)  
Public Sub SetValue( _
   ByVal key As TKey, _
   ByVal value As TValue _
) 
Visual Basic (Usage) Copy Code
Dim instance As Cache(Of TKey,TValue)
Dim key As TKey
Dim value As TValue
 
instance.SetValue(key, value)
C#  
public void SetValue( 
   TKey key,
   TValue value
)
C++/CLI  
public:
void SetValue( 
   TKey^ key,
   TValue^ value
) 

Parameters

key
value

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