Share via


HttpContentHeaders Class

Represents the collection of Content Headers as defined in RFC 2616.

Inheritance Hierarchy

System.Object
  System.Net.Http.Headers.HttpHeaders
    System.Net.Http.Headers.HttpContentHeaders

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

Syntax

'Declaration
Public NotInheritable Class HttpContentHeaders _
    Inherits HttpHeaders
'Usage
Dim instance As HttpContentHeaders
public sealed class HttpContentHeaders : HttpHeaders
public ref class HttpContentHeaders sealed : public HttpHeaders
[<SealedAttribute>]
type HttpContentHeaders =  
    class 
        inherit HttpHeaders 
    end
public final class HttpContentHeaders extends HttpHeaders

The HttpContentHeaders type exposes the following members.

Properties

  Name Description
Public property Allow Gets {insert text here}.
Public property ContentDisposition Gets or sets {insert text here}.
Public property ContentEncoding Gets {insert text here}.
Public property ContentLanguage Gets {insert text here}.
Public property ContentLength Gets or sets {insert text here}.
Public property ContentLocation Gets or sets {insert text here}.
Public property ContentMD5 Gets or sets {insert text here}.
Public property ContentRange Gets or sets {insert text here}.
Public property ContentType Gets or sets {insert text here}.
Public property Expires Gets or sets {insert text here}.
Public property LastModified Gets or sets {insert text here}.

Top

Methods

  Name Description
Public method Add(String, IEnumerable<String>) (Inherited from HttpHeaders.)
Public method Add(String, String) (Inherited from HttpHeaders.)
Public method Clear (Inherited from HttpHeaders.)
Public method Contains (Inherited from HttpHeaders.)
Public method Equals (Inherited from Object.)
Public method GetEnumerator (Inherited from HttpHeaders.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method GetValues (Inherited from HttpHeaders.)
Public method Remove (Inherited from HttpHeaders.)
Public method ToString (Inherited from HttpHeaders.)
Public method TryAddWithoutValidation(String, IEnumerable<String>) (Inherited from HttpHeaders.)
Public method TryAddWithoutValidation(String, String) (Inherited from HttpHeaders.)
Public method TryGetValues (Inherited from HttpHeaders.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator (Inherited from HttpHeaders.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Net.Http.Headers Namespace