Udostępnij za pośrednictwem


OutputCacheAttribute.CacheProfile Property

Gets or sets the cache profile name.

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

Syntax

'Declaration
Public Property CacheProfile As String
    Get
    Set
public string CacheProfile { get; set; }
public:
property String^ CacheProfile {
    String^ get ();
    void set (String^ value);
}

Property Value

Type: System.String
The cache profile name.

Remarks

The cache profile name identifies cache settings to associate with the page.

See Also

Reference

OutputCacheAttribute Class

System.Web.Mvc Namespace