asp.net.ph

HttpCacheVaryByParams IgnoreParams Property

System.Web Namespace   HttpCacheVaryByParams Class


Sets or retrieves a value indicating whether HTTP header cache-control parameters are ignored.

[ VB ]
Public Property IgnoreParams As Boolean

[ C# ]
public bool IgnoreParams {get; set;}

[ C++ ]
public: __property bool get_IgnoreParams ( );
public: __property void set_IgnoreParams ( bool );

[ JScript ]
public function get IgnoreParams ( ) : Boolean;
public function set IgnoreParams ( Boolean );

Property Value

true if cache-control parameters are ignored; otherwise, false.

Example

This example performs some action only if the IgnoreParams property is true.

if ( Response.Cache.VaryByParams.IgnoreParams == True ) {
   // ... do whatever here
}
  C# VB

See Also

HttpCacheVaryByParams Members   Caching Multiple Versions of a Page Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph