Partilhar via


StringWithQualityHeaderValue.TryParseList Método

Definição

Tenta analisar a sequência de valores como uma sequência 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

Parâmetros

input
IList<String>

Os valores a serem analisados.

parsedValues
IList<StringWithQualityHeaderValue>

Os valores analisados.

Retornos

true se todas as entradas forem válidas StringWithQualityHeaderValue, caso contrário false, .

Aplica-se a