## StringWithQualityHeaderValue::GetStringWithQualityLength method


将传入的字符串从指定索引转换为 [StringWithQualityHeaderValue](../) 类的实例。

```cpp
static int32_t System::Net::Http::Headers::StringWithQualityHeaderValue::GetStringWithQualityLength(String input, int32_t startIndex, System::SharedPtr<Object> &parsedValue)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 输入 | String | 要解析的字符串。 |
| startIndex | int32_t | 用于解析的起始位置。 |
| parsedValue | System::SharedPtr\<Object\>\& | 已解析对象将被分配的实例。 |

### ReturnValue

返回已解析子字符串的长度，否则返回 0。

## 另见

* Class [String](../../../system/string/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [StringWithQualityHeaderValue](../)
* Namespace [System::Net::Http::Headers](../../)
* Library [Aspose.Font for C++](../../../)
