Indicates whether the cache entry should be deleted after a specified duration.
public DateTime AbsoluteExpiration {get; set;}
'Declaration
Public Property AbsoluteExpiration As Date
'Usage
Dim instance As CacheItemPolicy
Dim value As Date
instance.AbsoluteExpiration = value
value = instance.AbsoluteExpiration
public Date getAbsoluteExpiration()
public void setAbsoluteExpiration(Date value)
public:
property DateTime AbsoluteExpiration {
DateTime get();
void set ( DateTime value);
}
Property Value
The period of time that must pass before a cache entry is deleted. The default value is
ObjectCache.InfiniteAbsoluteExpiration, meaning that the entry does not expire.