System::Net::Http::Headers::ViaHeaderValue::TryParse method

ViaHeaderValue::TryParse method

Tries to convert a passed string to an instance of the ViaHeaderValue class.

static bool System::Net::Http::Headers::ViaHeaderValue::TryParse(String input, System::SharedPtr<ViaHeaderValue> &parsedValue)
ParameterTypeDescription
inputStringA string to parse.
parsedValueSystem::SharedPtr<ViaHeaderValue>&An instance where a parsed object will be assigned.

ReturnValue

True when the parsing is successfully done, otherwise false.

See Also