Sdílet prostřednictvím


NameValueHeaderValue.TryParseList Metoda

Definice

Pokusí se parsovat sekvenci hodnot jako sekvenci NameValueHeaderValue.

public:
 static bool TryParseList(System::Collections::Generic::IList<System::String ^> ^ input, [Runtime::InteropServices::Out] System::Collections::Generic::IList<Microsoft::Net::Http::Headers::NameValueHeaderValue ^> ^ % parsedValues);
public static bool TryParseList (System.Collections.Generic.IList<string> input, out System.Collections.Generic.IList<Microsoft.Net.Http.Headers.NameValueHeaderValue> parsedValues);
public static bool TryParseList (System.Collections.Generic.IList<string>? input, out System.Collections.Generic.IList<Microsoft.Net.Http.Headers.NameValueHeaderValue>? 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 NameValueHeaderValue)) As Boolean

Parametry

input
IList<String>

Hodnoty, které se mají analyzovat.

parsedValues
IList<NameValueHeaderValue>

Analyzované hodnoty.

Návraty

true pokud jsou všechny vstupy platné NameValueHeaderValue, jinak false.

Platí pro