System::Net::Http::Headers::MediaTypeHeaderValue::TryParse method
MediaTypeHeaderValue::TryParse method
Tries to convert a passed string to an instance of the MediaTypeHeaderValue class.
static bool System::Net::Http::Headers::MediaTypeHeaderValue::TryParse(String input, System::SharedPtr<MediaTypeHeaderValue> &parsedValue)
Parameter | Type | Description |
---|---|---|
input | String | A string to parse. |
parsedValue | System::SharedPtr<MediaTypeHeaderValue>& | An instance where a parsed object will be assigned. |
ReturnValue
True when the parsing is successfully done, otherwise false.
See Also
- Class String
- Typedef SharedPtr
- Class MediaTypeHeaderValue
- Class MediaTypeHeaderValue
- Namespace System::Net::Http::Headers
- Library Aspose.TeX for C++