CacheEntryChangeMonitor.LastModified Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

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

abstract LastModified : DateTimeOffset with get

Property Value

Type: System.DateTimeOffset

The elapsed time.

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.

.NET Framework
Available since 4.0
Return to top