System::Net::Http::Headers::ProductInfoHeaderValue::TryParse 方法

ProductInfoHeaderValue::TryParse method

尝试将传入的字符串转换为 ProductInfoHeaderValue 类的实例。

static bool System::Net::Http::Headers::ProductInfoHeaderValue::TryParse(String input, System::SharedPtr<ProductInfoHeaderValue> &parsedValue)
ParameterType描述
输入字符串要解析的字符串。
parsedValueSystem::SharedPtr<ProductInfoHeaderValue>&将分配已解析对象的实例。

ReturnValue

解析成功完成时为 true,否则为 false。

另见