HttpContentHeaders.ContentLength Property

Definition

Gets or sets the value of the Content-Length content header on an HTTP response.

public:
 property Nullable<long> ContentLength { Nullable<long> get(); void set(Nullable<long> value); };
public long? ContentLength { get; set; }
member this.ContentLength : Nullable<int64> with get, set
Public Property ContentLength As Nullable(Of Long)

Property Value

The value of the Content-Length content header on an HTTP response.

Applies to