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 标头的值(如果有)。

适用于