HttpCachePolicyBase.SetLastModified Method (DateTime)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

When overridden in a derived class, sets the Last-Modified HTTP header to the specified date and time.

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

public virtual void SetLastModified(
	DateTime date
)

Parameters

date
Type: System.DateTime

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

Exception Condition
NotImplementedException

Always.

.NET Framework
Available since 3.5
Return to top
Show: