System::Net::Http::Headers::ProductInfoHeaderValue::GetProductInfoLength 方法
ProductInfoHeaderValue::GetProductInfoLength method
将从指定索引开始的传入字符串转换为 ProductInfoHeaderValue 类的实例。
static int32_t System::Net::Http::Headers::ProductInfoHeaderValue::GetProductInfoLength(String input, int32_t startIndex, System::SharedPtr<ProductInfoHeaderValue> &parsedValue)
| Parameter | Type | 描述 |
|---|---|---|
| 输入 | 字符串 | 要解析的字符串。 |
| startIndex | int32_t | 用于解析的起始位置。 |
| parsedValue | System::SharedPtr<ProductInfoHeaderValue>& | 将分配已解析对象的实例。 |
ReturnValue
返回已解析子字符串的长度,否则返回 0。
另见
- Class String
- Typedef SharedPtr
- Class ProductInfoHeaderValue
- Class ProductInfoHeaderValue
- Namespace System::Net::Http::Headers
- Library Aspose.Page for C++