Share via


ResponseCacheAttribute.VaryByQueryKeys Property

Definition

Gets or sets the query keys to vary by.

public:
 property cli::array <System::String ^> ^ VaryByQueryKeys { cli::array <System::String ^> ^ get(); void set(cli::array <System::String ^> ^ value); };
public string[] VaryByQueryKeys { get; set; }
public string[]? VaryByQueryKeys { get; set; }
member this.VaryByQueryKeys : string[] with get, set
Public Property VaryByQueryKeys As String()

Property Value

String[]

Remarks

VaryByQueryKeys requires the response cache middleware.

Applies to