共用方式為


HttpRequest.ContentLength 屬性

定義

取得或設定 Content-Length 標頭。

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)

屬性值

Content-Length 標頭的值,如果有的話。

適用於