Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets or sets the vary-by-content encoding.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Property VaryByContentEncoding As String
Get
Set
public string VaryByContentEncoding { get; set; }
public:
property String^ VaryByContentEncoding {
String^ get ();
void set (String^ value);
}
Property Value
Type: System.String
The vary-by-content encoding.
Remarks
A semicolon-separated list of strings that are used to vary the output cache. The VaryByContentEncodings attribute is used with the Accept-Encoding header to determine how cached responses are served for different content encodings.