This documentation is archived and is not being maintained.

HttpCacheVaryByHeaders Properties

The properties of the HttpCacheVaryByHeaders class are listed here. For a complete list of HttpCacheVaryByHeaders class members, see the HttpCacheVaryByHeaders Members topic.

Public Properties

public propertyAcceptTypes Gets or sets a value indicating whether the origin server adds the Accept field to the Vary HTTP header.
public propertyItem Gets or sets a custom header field that the origin server adds to the Vary HTTP header.

In C#, this property is the indexer for the HttpCacheVaryByHeaders class.

public propertyUserAgent Gets or sets a value indicating whether the origin server adds the User-Agent header to the Vary HTTP header.
public propertyUserCharSet Gets or sets a value indicating whether the origin server adds the Accept-Charset field to the Vary HTTP header.
public propertyUserLanguage Gets or sets a value indicating whether the origin server adds the Accept-Language field to the Vary HTTP header.

See Also

HttpCacheVaryByHeaders Class | System.Web Namespace

Show: