Export (0) Print
Expand All

OutputCacheParameters.VaryByControl Property

Gets or sets a semicolon-delimited set of control identifiers contained within the current page or user control used to vary the current cache entry.

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

public string VaryByControl { get; set; }
/** @property */
public String get_VaryByControl ()

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

public function get VaryByControl () : String

public function set VaryByControl (value : String)

Not applicable.

Property Value

A semicolon-separated list of strings used to vary an entry's output cache. The VaryByControl property is set to fully qualified control identifiers, where the identifier is a concatenation of control IDs starting from the top-level parent control and delimited with a dollar sign ($) character.

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