NameValueWithParametersHeaderValue.Parse(String) Método

Definição

Converte uma cadeia de caracteres em uma instância NameValueWithParametersHeaderValue.Converts a string to an NameValueWithParametersHeaderValue instance.

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

Parâmetros

input
String

Uma cadeia de caracteres que representa o valor de nome com informações de valor de cabeçalho do parâmetro.A string that represents name value with parameter header value information.

Retornos

NameValueWithParametersHeaderValue

Uma instância de NameValueWithParametersHeaderValue.A NameValueWithParametersHeaderValue instance.

Exceções

input é uma referência null.input is a null reference.

input não é o valor de nome válido com informações de valor de cabeçalho do parâmetro.input is not valid name value with parameter header value information.

Aplica-se a