HttpContentHeaders.ContentLength 屬性

定義

取得或設定 HTTP 回應中內容標頭的值 Content-Length

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)

屬性值

HTTP 回應上的內容標頭值 Content-Length

適用於