HttpContent.Headers Property

Gets the HTTP content headers as defined in RFC 2616.

Namespace:  System.Net.Http
Assembly:  System.Net.Http (in System.Net.Http.dll)

Syntax

'Declaration
Public ReadOnly Property Headers As HttpContentHeaders 
    Get
'Usage
Dim instance As HttpContent 
Dim value As HttpContentHeaders 

value = instance.Headers
public HttpContentHeaders Headers { get; }
public:
property HttpContentHeaders^ Headers {
    HttpContentHeaders^ get ();
}
member Headers : HttpContentHeaders
function get Headers () : HttpContentHeaders

Property Value

Type: System.Net.Http.Headers.HttpContentHeaders

See Also

Reference

HttpContent Class

System.Net.Http Namespace