TryParse()

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

Arguments

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

Return Value

True when the parsing is successfully done, otherwise false.

See Also