TryParse()

ViaHeaderValue::TryParse(String, System::SharedPtr<ViaHeaderValue>&) 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)

Arguments

ParameterTypeDescription
inputStringA string to parse.
parsedValueSystem::SharedPtr<ViaHeaderValue>&An instance where a parsed object will be assigned.

Return Value

True when the parsing is successfully done, otherwise false.

See Also