Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Item Property
Collapse the table of content
Expand the table of content

HttpCacheVaryByContentEncodings.Item Property

Gets or sets a value that indicates whether the cache varies according to the specified content encoding.

Namespace:  System.Web
Assembly:  System.Web (in System.Web.dll)

public bool this[
	string contentEncoding
] { get; set; }


Type: System.String

The name of the content encoding.

Property Value

Type: System.Boolean
true if the cache should vary by the specified content encoding; otherwise, false.


The content encoding is null.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1, 3.0 SP1, 2.0 SP1
© 2015 Microsoft