Namespace: Alachisoft.NCache.Web.Caching
Assembly: Alachisoft.NCache.Web (in Alachisoft.NCache.Web.dll) Version: 4.3.0.0 (4.3.0.0)

Syntax

C#
public virtual CacheItemVersion Add(
	string key,
	Object value,
	CacheDependency dependency,
	DateTime absoluteExpiration,
	TimeSpan slidingExpiration,
	CacheItemPriority priority
)
Visual Basic
Public Overridable Function Add ( 
	key As String,
	value As Object,
	dependency As CacheDependency,
	absoluteExpiration As DateTime,
	slidingExpiration As TimeSpan,
	priority As CacheItemPriority
) As CacheItemVersion
Visual C++
public:
virtual CacheItemVersion^ Add(
	String^ key, 
	Object^ value, 
	CacheDependency^ dependency, 
	DateTime absoluteExpiration, 
	TimeSpan slidingExpiration, 
	CacheItemPriority priority
)

Return Value

Type: CacheItemVersion

See Also