TryParseAndAddValue()

HttpHeaders::TryParseAndAddValue(String, String) method

Tries to parse the specified value and add it to the header values.

bool System::Net::Http::Headers::HttpHeaders::TryParseAndAddValue(String name, String value)

Arguments

ParameterTypeDescription
nameStringThe header name.
valueStringThe value that must be parsed and added.

Return Value

True when the value is successfully parsed and added, otherwise false.

See Also