AuthenticationHeaderValue.TryParse(String, AuthenticationHeaderValue) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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.