OutputCachePolicyBuilder.SetVaryByQuery Method
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.
Overloads
SetVaryByQuery(String[]) | |
SetVaryByQuery(String, String[]) |
SetVaryByQuery(String[])
public Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder SetVaryByQuery (string[] queryKeys);
member this.SetVaryByQuery : string[] -> Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder
Public Function SetVaryByQuery (queryKeys As String()) As OutputCachePolicyBuilder
Parameters
- queryKeys
- String[]
Returns
Applies to
SetVaryByQuery(String, String[])
public Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder SetVaryByQuery (string queryKey, params string[] queryKeys);
member this.SetVaryByQuery : string * string[] -> Microsoft.AspNetCore.OutputCaching.OutputCachePolicyBuilder
Public Function SetVaryByQuery (queryKey As String, ParamArray queryKeys As String()) As OutputCachePolicyBuilder
Parameters
- queryKey
- String
- queryKeys
- String[]
Returns
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for