Edit

Share via


NameValueHeaderValue.Parse(String) Method

Definition

Converts a string to an NameValueHeaderValue instance.

public:
 static System::Net::Http::Headers::NameValueHeaderValue ^ Parse(System::String ^ input);
public static System.Net.Http.Headers.NameValueHeaderValue Parse (string input);
public static System.Net.Http.Headers.NameValueHeaderValue Parse (string? input);
static member Parse : string -> System.Net.Http.Headers.NameValueHeaderValue
Public Shared Function Parse (input As String) As NameValueHeaderValue

Parameters

input
String

A string that represents name value header value information.

Returns

A NameValueHeaderValue instance.

Exceptions

input is a null reference.

input is not valid name value header value information.

Applies to