Add<T> Method (CacheManager)
KalikoCMS.Caching Namespace > CacheManager Class : Add<T> Method |
Syntax
'Declaration
Public Shared Sub Add(Of T)( _ ByVal key As String, _ ByVal value As T, _ Optional ByVal priority As CachePriority, _ Optional ByVal timeout As Integer, _ Optional ByVal slidingExpiration As Boolean, _ Optional ByVal addRefreshDependency As Boolean _ )
public static 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