Export (0) Print
Expand All

OutputCacheParameters.VaryByParam Property

Gets a comma-delimited list of query string or form POST parameters that the output cache uses to vary the cache entry.

Namespace: System.Web.UI
Assembly: System.Web (in system.web.dll)

public string VaryByParam { get; set; }
/** @property */
public String get_VaryByParam ()

/** @property */
public void set_VaryByParam (String value)

public function get VaryByParam () : String

public function set VaryByParam (value : String)

Not applicable.

Property Value

The list of query string or form POST parameters.

When this 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.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft