HttpCachePolicyWrapper::SetLastModified Method (DateTime)
.NET Framework (current version)
Sets the Last-Modified HTTP header to the specified date and time.
Assembly: System.Web (in System.Web.dll)
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
Available since 3.5
Show: