CacheEntryChangeMonitor.LastModified Property

Definition

Gets a value that indicates the latest time (in UTC time) that the monitored cache entry was changed.

public:
 abstract property DateTimeOffset LastModified { DateTimeOffset get(); };
public abstract DateTimeOffset LastModified { get; }
member this.LastModified : DateTimeOffset
Public MustOverride ReadOnly Property LastModified As DateTimeOffset

Property Value

The elapsed time.

Remarks

If multiple cache entries are being monitored for changes, the LastModified property returns the latest time a modification occurred in any of the cache entries.

The value of the LastModified property is typically calculated during initialization of a derived class.

Applies to