OutputCacheProfile.VaryByContentEncoding Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the semicolon-delimited set of content encodings to be cached.
public:
property System::String ^ VaryByContentEncoding { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("varyByContentEncoding")]
public string VaryByContentEncoding { get; set; }
[<System.Configuration.ConfigurationProperty("varyByContentEncoding")>]
member this.VaryByContentEncoding : string with get, set
Public Property VaryByContentEncoding As String
Property Value
The list of content encodings.
- Attributes
Remarks
The VaryByContentEncoding settings are the same ones used by the VaryByContentEncoding
attribute of the @ OutputCache
directive.
VaryByContentEncoding is introduced in the .NET Framework version 3.5. For more information, see Versions and Dependencies.
Applies to
See also
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.