Windows Dev Center

Collapse the table of content
Expand the table of content
Expand Minimize
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HttpContentCodingHeaderValue class

Represents content encoding information used in the Content-Encoding HTTP header on HTTP content in a request or a response.

Syntax


var httpContentCodingHeaderValue = new Windows.Web.Http.Headers.HttpContentCodingHeaderValue();

Members

The HttpContentCodingHeaderValue class has these types of members:

Constructors

The HttpContentCodingHeaderValue class has these constructors.

ConstructorDescription
HttpContentCodingHeaderValue Initializes a new instance of the HttpContentCodingHeaderValue class.

 

Methods

The HttpContentCodingHeaderValue class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
Parse Converts a string to an HttpContentCodingHeaderValue instance.
ToString Returns a string that represents the current HttpContentCodingHeaderValue object.
TryParse Determines whether a string is valid HttpContentCodingHeaderValue information.

 

Properties

The HttpContentCodingHeaderValue class has these properties.

PropertyAccess typeDescription

ContentCoding

Read-onlyGets the value of the content-coding information used in the Content-Encoding HTTP header.

 

Remarks

The HttpContentCodingHeaderValue class represents content encoding information used in the Content-Encoding HTTP header on HTTP content sent in an HTTP request or received in an HTTP response.

The ContentEncoding property on the HttpContentHeaderCollection returns an HttpContentCodingHeaderValueCollection that contains HttpContentCodingHeaderValue objects.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Web.Http.Headers
Windows::Web::Http::Headers [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1 [Windows Store apps, desktop apps]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps, desktop apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Web.Http.Headers
Windows::Web::Http::Headers [C++]

Metadata

Windows.winmd

Attributes

[DualApiPartition()]
[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06030000)]

See also

ContentEncoding
HttpContentHeaderCollection
HttpContentCodingHeaderValueCollection
Object
IStringable

 

 

Show:
© 2015 Microsoft