HttpCacheVaryByHeaders.SetHeaders(String[]) Method

Definition

Sets an array of values which specify the HTTP headers to be used for varying the cache.

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

Parameters

headers
String[]

An array of values which contain the HTTP headers for varying the cache.

Applies to