Bagikan melalui


SetCookieHeaderValue.TryParseStrictList Metode

Definisi

Mencoba mengurai urutan nilai sebagai urutan penggunaan aturan penguraian SetCookieHeaderValue string.

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

Parameter

inputs
IList<String>

Nilai yang akan diurai.

parsedValues
IList<SetCookieHeaderValue>

Nilai yang diurai.

Mengembalikan

true jika semua input valid StringWithQualityHeaderValue, jika tidak false.

Berlaku untuk