HttpCachePolicyWrapper.SetExpires Method (DateTime)

 

Sets the Expires HTTP header to an absolute date and time.

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

override SetExpires : 
        date:DateTime -> unit

Parameters

date
Type: System.DateTime

The absolute expiration time.

.NET Framework
Available since 3.5
Return to top
Show: