TryParse()

RangeHeaderValue::TryParse(String, System::SharedPtr<RangeHeaderValue>&) method

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

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

Arguments

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

Return Value

True when the parsing is successfully done, otherwise false.

See Also