Export (0) Print
Expand All

HttpCachePolicyWrapper.SetLastModified Method

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

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

public override void SetLastModified(
	DateTime date
)

Parameters

date
Type: System.DateTime

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

ExceptionCondition
ArgumentOutOfRangeException

date is later than the current DateTime.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1
Show:
© 2015 Microsoft