HttpCacheVaryByContentEncodings.SetContentEncodings(String[]) Method

Definition

Sets an array of values which specify the content encodings to be used for varying the cache.

C#
public void SetContentEncodings(string[] contentEncodings);

Parameters

contentEncodings
String[]

An array of values which contain the content encodings for varying the cache.

Applies to

Product Versions
.NET Framework 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1