Delen via


OutputCacheAttribute.VaryByParam Property

Gets or sets the vary-by-parameter value.

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

Syntax

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

Property Value

Type: System.String
The vary-by-parameter value.

Remarks

A semicolon-separated list of strings that correspond to query-string values for the GET method, or to parameter values for the POST method.

See Also

Reference

OutputCacheAttribute Class

System.Web.Mvc Namespace