HttpCachePolicyWrapper.SetLastModified Method (DateTime)

 

Sets the Last-Modified HTTP header to the specified date and time.

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

override SetLastModified : 
        date:DateTime -> unit

Parameters

date
Type: System.DateTime

The date-time value to set the Last-Modified header to.

Exception Condition
ArgumentOutOfRangeException

date is later than the current DateTime.

.NET Framework
Available since 3.5
Return to top
Show: