---
title: "System::Net::Http::Headers::ProductInfoHeaderValue::TryParse method"
url: "https://reference.aspose.com/tex/cpp/system.net.http.headers/productinfoheadervalue/tryparse/"
product: "Aspose.TeX for C++"
description: "System::Net::Http::Headers::ProductInfoHeaderValue::TryParse method. Tries to convert a passed string to an instance of the ProductInfoHeaderValue class in C++."
---

## ProductInfoHeaderValue::TryParse method


Tries to convert a passed string to an instance of the [ProductInfoHeaderValue](../) class.

```cpp
static bool System::Net::Http::Headers::ProductInfoHeaderValue::TryParse(String input, System::SharedPtr<ProductInfoHeaderValue> &parsedValue)
```


| Parameter | Type | Description |
| --- | --- | --- |
| input | String | A string to parse. |
| parsedValue | System::SharedPtr\<ProductInfoHeaderValue\>\& | An instance where a parsed object will be assigned. |

### ReturnValue

True when the parsing is successfully done, otherwise false.

## See Also

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