AuthenticationHeaderValue.TryParse(String, AuthenticationHeaderValue) Méthode

Définition

Détermine si une chaîne est valide 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);
static member TryParse : string * AuthenticationHeaderValue -> bool
Public Shared Function TryParse (input As String, ByRef parsedValue As AuthenticationHeaderValue) As Boolean

Paramètres

input
String

Chaîne à valider.

parsedValue
AuthenticationHeaderValue

Version AuthenticationHeaderValue de la chaîne.

Retours

true s’il input s’agit d’informations valides AuthenticationHeaderValue ; sinon, false.

S’applique à