ProductHeaderValue.TryParse(String, ProductHeaderValue) Méthode

Définition

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.

S’applique à