HttpCacheVaryByContentEncodings::Item Property (String^)
.NET Framework (current version)
Gets or sets a value that indicates whether the cache varies according to the specified content encoding.
Assembly: System.Web (in System.Web.dll)
public: property bool default[ String^ contentEncoding ] { bool get(String^ contentEncoding); void set(String^ contentEncoding, bool value); }
Parameters
- contentEncoding
-
Type:
System::String^
The name of the content encoding.
Property Value
Type: System::Booleantrue if the cache should vary by the specified content encoding; otherwise, false.
| Exception | Condition |
|---|---|
| ArgumentNullException | The content encoding is null. |
.NET Framework
Available since 2.0
Available since 2.0
Show: