CacheInsertOptions::AbsoluteExpiration Property

 

Gets or sets a value that indicates whether a cache entry should be evicted after a specified duration.

Namespace:   System.Web.Caching
Assembly:  System.Web (in System.Web.dll)

public:
property DateTime AbsoluteExpiration {
	DateTime get();
	void set(DateTime value);
}

Property Value

Type: System::DateTime

The eviction duration.

.NET Framework
Available since 4.7
Return to top
Show: