Method SetAttributes
SetAttributes(String, CacheItemAttributes)
Add Attribute existing cache item.
Declaration
public virtual bool SetAttributes(string key, CacheItemAttributes attributes)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | key used to reference the required object |
CacheItemAttributes | attributes | Set of attribute to be added |
Returns
Type | Description |
---|---|
System.Boolean | True if the operation succeeded otherwise false |