Condividi tramite


StringWithQualityHeaderValue.TryParse Metodo

Definizione

Determina se una stringa contiene informazioni valide su StringWithQualityHeaderValue.

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

Parametri

input
String

Stringa da convalidare.

parsedValue
StringWithQualityHeaderValue

Versione StringWithQualityHeaderValue della stringa.

Restituisce

true se input contiene informazioni valide su StringWithQualityHeaderValue; in caso contrario, false.

Si applica a