System::Net::Http::Headers::AuthenticationHeaderValue::TryParse method

AuthenticationHeaderValue::TryParse method

Trying to convert a passed string to an instance of the AuthenticationHeaderValue class.

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

ReturnValue

True when the parsing is successfully done, otherwise false.

See Also