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 );
true if cache-control parameters are ignored; otherwise, false.
This example performs some action only if the IgnoreParams property is true.
if ( Response.Cache.VaryByParams.IgnoreParams == True ) {
// ... do whatever here
}
If Response.Cache.VaryByParams.IgnoreParams = True Then
' ... do whatever here
End If |
|
C# |
VB |
HttpCacheVaryByParams Members Caching Multiple Versions of a Page