Comparteix a través de


StringWithQualityHeaderValue.TryParse Método

Definición

Determina si una cadena es una información de StringWithQualityHeaderValue válida.

public:
 static bool TryParse(System::String ^ input, [Runtime::InteropServices::Out] System::Net::Http::Headers::StringWithQualityHeaderValue ^ % parsedValue);
public static bool TryParse (string input, out System.Net.Http.Headers.StringWithQualityHeaderValue parsedValue);
public static bool TryParse (string? input, out System.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

Cadena que se va a validar.

parsedValue
StringWithQualityHeaderValue

Versión StringWithQualityHeaderValue de la cadena.

Devoluciones

true si input es una información de StringWithQualityHeaderValue válida; en caso contrario, false.

Se aplica a