Edit

Share via


HttpCacheVaryByContentEncodings.SetContentEncodings(String[]) Method

Definition

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

public:
 void SetContentEncodings(cli::array <System::String ^> ^ contentEncodings);
public void SetContentEncodings (string[] contentEncodings);
member this.SetContentEncodings : string[] -> unit
Public Sub SetContentEncodings (contentEncodings As String())

Parameters

contentEncodings
String[]

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

Applies to