Compartilhar via


DefaultViewLocationCache.TimeSpan Property

Gets or sets the cache time span.

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

Syntax

'Declaration
Public Property TimeSpan As TimeSpan
    Get
    Private Set
public TimeSpan TimeSpan { get; private set; }
public:
property TimeSpan TimeSpan {
    TimeSpan get ();
    private: void set (TimeSpan value);
}

Property Value

Type: System.TimeSpan
The cache time span.

See Also

Reference

DefaultViewLocationCache Class

System.Web.Mvc Namespace