Condividi tramite


AuthenticationHeaderValue.TryParse(String, AuthenticationHeaderValue) Metodo

Definizione

Determina se una stringa contiene informazioni valide su AuthenticationHeaderValue.

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

Parametri

input
String

Stringa da convalidare.

parsedValue
AuthenticationHeaderValue

Versione AuthenticationHeaderValue della stringa.

Restituisce

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

Si applica a