Partilhar via


StringWithQualityHeaderValue.TryParse Método

Definição

Sobrecargas

TryParse(StringSegment, StringWithQualityHeaderValue)

Tenta analisar o especificado input como um StringWithQualityHeaderValue.

TryParse(String, StringWithQualityHeaderValue)

TryParse(StringSegment, StringWithQualityHeaderValue)

Origem:
StringWithQualityHeaderValue.cs
Origem:
StringWithQualityHeaderValue.cs
Origem:
StringWithQualityHeaderValue.cs

Tenta analisar o especificado input como um StringWithQualityHeaderValue.

public:
 static bool TryParse(Microsoft::Extensions::Primitives::StringSegment input, [Runtime::InteropServices::Out] Microsoft::Net::Http::Headers::StringWithQualityHeaderValue ^ % parsedValue);
public static bool TryParse (Microsoft.Extensions.Primitives.StringSegment input, out Microsoft.Net.Http.Headers.StringWithQualityHeaderValue parsedValue);
public static bool TryParse (Microsoft.Extensions.Primitives.StringSegment input, out Microsoft.Net.Http.Headers.StringWithQualityHeaderValue? parsedValue);
static member TryParse : Microsoft.Extensions.Primitives.StringSegment * StringWithQualityHeaderValue -> bool
Public Shared Function TryParse (input As StringSegment, ByRef parsedValue As StringWithQualityHeaderValue) As Boolean

Parâmetros

input
StringSegment

O valor a analisar.

parsedValue
StringWithQualityHeaderValue

O valor analisado.

Retornos

true se a entrada for válida StringWithQualityHeaderValue, caso contrário false, .

Aplica-se a

TryParse(String, StringWithQualityHeaderValue)

public:
 static bool TryParse(System::String ^ input, [Runtime::InteropServices::Out] Microsoft::Net::Http::Headers::StringWithQualityHeaderValue ^ % parsedValue);
public static bool TryParse (string input, out Microsoft.Net.Http.Headers.StringWithQualityHeaderValue parsedValue);
static member TryParse : string * StringWithQualityHeaderValue -> bool
Public Shared Function TryParse (input As String, ByRef parsedValue As StringWithQualityHeaderValue) As Boolean

Parâmetros

input
String

Retornos

Aplica-se a