Add Attribute existing cache item.

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

Syntax

C#
public virtual bool SetAttributes(
	string key,
	CacheItemAttributes attributes
)
Visual Basic
Public Overridable Function SetAttributes ( _
	key As String, _
	attributes As CacheItemAttributes _
) As Boolean
Visual C++
public:
virtual bool SetAttributes(
	String^ key, 
	CacheItemAttributes^ attributes
)

Parameters

key
Type: System..::..String
key used to reference the required object
attributes
Type: Alachisoft.NCache.Runtime.Caching..::..CacheItemAttributes

Return Value

True if the operation successeded otherwise false

See Also