Share via


HttpRequest.ContentLength Property

Definition

Gets or sets the Content-Length header.

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

Property Value

The value of the Content-Length header, if any.

Applies to