HttpRequestWrapper.ContentLength 属性

定义

获取客户端发送的内容的长度(以字节为单位)。Gets the length, in bytes, of content that was sent by the client.

public:
 virtual property int ContentLength { int get(); };
public override int ContentLength { get; }
member this.ContentLength : int
Public Overrides ReadOnly Property ContentLength As Integer

属性值

Int32

客户端发送的内容的长度(以字节为单位)。The length, in bytes, of content that was sent by the client.

适用于