Export (0) Print
Expand All

HttpCachePolicy.VaryByParams Property

Gets the list of parameters received by a GET (querystring) or POST (in the body of the HTTP request) that affect caching.

[Visual Basic]
Public ReadOnly Property VaryByParams As HttpCacheVaryByParams
[C#]
public HttpCacheVaryByParams VaryByParams {get;}
[C++]
public: __property HttpCacheVaryByParams* get_VaryByParams();
[JScript]
public function get VaryByParams() : HttpCacheVaryByParams;

Property Value

An HttpCacheVaryByParams that specifies which cache-control headers are used to select the cached response.

Remarks

For each named parameter in VaryByParams a separate version of the requested document is available from the cache, the version varying by the parameter's value.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

HttpCachePolicy Class | HttpCachePolicy Members | System.Web Namespace

Show:
© 2014 Microsoft