AuthenticationHeaderValue.TryParse(String, AuthenticationHeaderValue) Método

Definición

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

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

Parámetros

input
String

Cadena que se va a validar.

parsedValue
AuthenticationHeaderValue

Versión AuthenticationHeaderValue de la cadena.

Devoluciones

Boolean

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

Se aplica a