TransferCodingWithQualityHeaderValue Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an Accept-Encoding header value with optional quality factor.
public ref class TransferCodingWithQualityHeaderValue sealed : System::Net::Http::Headers::TransferCodingHeaderValue
public ref class TransferCodingWithQualityHeaderValue sealed : System::Net::Http::Headers::TransferCodingHeaderValue, ICloneable
public sealed class TransferCodingWithQualityHeaderValue : System.Net.Http.Headers.TransferCodingHeaderValue
public sealed class TransferCodingWithQualityHeaderValue : System.Net.Http.Headers.TransferCodingHeaderValue, ICloneable
type TransferCodingWithQualityHeaderValue = class
inherit TransferCodingHeaderValue
type TransferCodingWithQualityHeaderValue = class
inherit TransferCodingHeaderValue
interface ICloneable
Public NotInheritable Class TransferCodingWithQualityHeaderValue
Inherits TransferCodingHeaderValue
Public NotInheritable Class TransferCodingWithQualityHeaderValue
Inherits TransferCodingHeaderValue
Implements ICloneable
- Inheritance
- Implements
Remarks
The TransferCodingWithQualityHeaderValue class provides support for the Accept-Encoding header as defined in RFC 2616 by the IETF.
Quality factors allow a user agent to indicate the relative degree of preference for an Accept-Encoding header value, using the qvalue scale from 0 to 1. The default value is q=1.
This type derives from TransferCodingHeaderValue.
Constructors
TransferCodingWithQualityHeaderValue(String) |
Initializes a new instance of the TransferCodingWithQualityHeaderValue class. |
TransferCodingWithQualityHeaderValue(String, Double) |
Initializes a new instance of the TransferCodingWithQualityHeaderValue class. |
Properties
Parameters |
Gets the transfer-coding parameters. (Inherited from TransferCodingHeaderValue) |
Quality |
Gets the quality factor from the TransferCodingWithQualityHeaderValue. |
Value |
Gets the transfer-coding value. (Inherited from TransferCodingHeaderValue) |
Methods
Equals(Object) |
Determines whether the specified Object is equal to the current TransferCodingHeaderValue object. (Inherited from TransferCodingHeaderValue) |
GetHashCode() |
Serves as a hash function for an TransferCodingHeaderValue object. (Inherited from TransferCodingHeaderValue) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
Parse(String) |
Converts a string to an TransferCodingWithQualityHeaderValue instance. |
ToString() |
Returns a string that represents the current TransferCodingHeaderValue object. (Inherited from TransferCodingHeaderValue) |
TryParse(String, TransferCodingWithQualityHeaderValue) |
Determines whether a string is valid TransferCodingWithQualityHeaderValue information. |
Explicit Interface Implementations
ICloneable.Clone() |
Creates a new object that is a copy of the current TransferCodingWithQualityHeaderValue instance. |