ControlCachePolicy.VaryByParams Property
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.
Gets or sets a list of GET
or POST
parameter names to vary the cached output by.
public:
property System::Web::HttpCacheVaryByParams ^ VaryByParams { System::Web::HttpCacheVaryByParams ^ get(); };
public System.Web.HttpCacheVaryByParams VaryByParams { get; }
member this.VaryByParams : System.Web.HttpCacheVaryByParams
Public ReadOnly Property VaryByParams As HttpCacheVaryByParams
Property Value
A semicolon-separated list of strings used to vary the output cache.
Exceptions
The user control is not associated with a BasePartialCachingControl and is not cacheable.
Remarks
By default, these strings correspond to a query string value sent with the GET method or to a parameter sent using the POST method. When the VaryByParams property is set to multiple parameters, the output cache contains a different version of the requested document for each specified parameter. Possible values include "none", "*", and any valid query string or POST parameter name.
Applies to
See also
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示