ProductHeaderValue.TryParse(String, ProductHeaderValue) 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 ProductHeaderValue .
public:
static bool TryParse(System::String ^ input, [Runtime::InteropServices::Out] System::Net::Http::Headers::ProductHeaderValue ^ % parsedValue);
public static bool TryParse(string input, out System.Net.Http.Headers.ProductHeaderValue parsedValue);
static member TryParse : string * ProductHeaderValue -> bool
Public Shared Function TryParse (input As String, ByRef parsedValue As ProductHeaderValue) As Boolean
Paramètres
- input
- String
Chaîne à valider.
- parsedValue
- ProductHeaderValue
Version ProductHeaderValue de la chaîne.
Retours
true s’il input s’agit d’informations valides ProductHeaderValue ; sinon, false.