System::Net::Http::HttpContent::TryComputeLength 方法

HttpContent::TryComputeLength method

尝试计算内容大小。

virtual bool System::Net::Http::HttpContent::TryComputeLength(int64_t &length)=0
参数类型描述
长度int64_t&输出参数,将分配计算后的大小.

ReturnValue

成功更新大小时为 True,否则为 false.

另见