Partager via


StringWithQualityHeaderValue.TryParseList Méthode

Définition

Tente d’analyser la séquence de valeurs sous la forme d’une séquence de StringWithQualityHeaderValue.

public:
 static bool TryParseList(System::Collections::Generic::IList<System::String ^> ^ input, [Runtime::InteropServices::Out] System::Collections::Generic::IList<Microsoft::Net::Http::Headers::StringWithQualityHeaderValue ^> ^ % parsedValues);
public static bool TryParseList (System.Collections.Generic.IList<string> input, out System.Collections.Generic.IList<Microsoft.Net.Http.Headers.StringWithQualityHeaderValue> parsedValues);
public static bool TryParseList (System.Collections.Generic.IList<string>? input, out System.Collections.Generic.IList<Microsoft.Net.Http.Headers.StringWithQualityHeaderValue>? parsedValues);
static member TryParseList : System.Collections.Generic.IList<string> * IList -> bool
Public Shared Function TryParseList (input As IList(Of String), ByRef parsedValues As IList(Of StringWithQualityHeaderValue)) As Boolean

Paramètres

input
IList<String>

Valeurs à analyser.

parsedValues
IList<StringWithQualityHeaderValue>

Valeurs analysées.

Retours

true si toutes les entrées sont valides StringWithQualityHeaderValue, sinon false.

S’applique à