System::Net::Http::HttpContent::TryComputeLength 方法
HttpContent::TryComputeLength method
尝试计算内容大小。
virtual bool System::Net::Http::HttpContent::TryComputeLength(int64_t &length)=0
| 参数 | 类型 | 描述 |
|---|---|---|
| 长度 | int64_t& | 输出参数,将分配计算后的大小. |
ReturnValue
成功更新大小时为 True,否则为 false.
另见
- Class HttpContent
- Namespace System::Net::Http
- Library Aspose.Font for C++