Sdílet prostřednictvím


CookieHeaderValue.TryParseList Metoda

Definice

Pokusí se parsovat posloupnost hodnot jako sekvenci CookieHeaderValue.

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

Parametry

inputs
IList<String>

Hodnoty, které se mají analyzovat.

parsedValues
IList<CookieHeaderValue>

Analyzované hodnoty.

Návraty

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

Platí pro