Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the cache duration, in seconds.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Property Duration As Integer
Get
Set
public int Duration { get; set; }
public:
property int Duration {
int get ();
void set (int value);
}
Property Value
Type: System.Int32
The cache duration.
Remarks
The time, in seconds, that the output is cached.