Add Attribute existing cache item.

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 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
Set of attribute to be added

Return Value

Type: Boolean
True if the operation successeded otherwise false

See Also