Redigera

Dela via


HttpCachePolicyWrapper.SetLastModified(DateTime) Method

Definition

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

public:
 override void SetLastModified(DateTime date);
public override void SetLastModified (DateTime date);
override this.SetLastModified : DateTime -> unit
Public Overrides Sub SetLastModified (date As DateTime)

Parameters

date
DateTime

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

Exceptions

date is later than the current DateTime.

Applies to