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)

屬性值

Nullable<Int64>

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

適用於