StringWithQualityHeaderValue.TryParse Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
TryParse(StringSegment, StringWithQualityHeaderValue) |
Tenta analisar o especificado |
TryParse(String, StringWithQualityHeaderValue) |
TryParse(StringSegment, StringWithQualityHeaderValue)
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
- parsedValue
- StringWithQualityHeaderValue