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)
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: