Add<T> Method (WebCache)
KalikoCMS.Caching Namespace > WebCache Class : Add<T> Method |
Syntax
'Declaration
Public Sub Add(Of T)( _ ByVal key As String, _ ByVal value As T, _ ByVal priority As CachePriority, _ ByVal timeout As Integer, _ ByVal slidingExpiration As Boolean, _ ByVal addRefreshDependency As Boolean _ )
public void Add<T>( string key, T value, CachePriority priority, int timeout, bool slidingExpiration, bool addRefreshDependency )
Parameters
- key
- value
- priority
- timeout
- slidingExpiration
- addRefreshDependency
Type Parameters
- T
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