Condividi tramite


CookieHeaderValue.TryParseList Metodo

Definizione

Tenta di analizzare la sequenza di valori come sequenza di 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

Parametri

inputs
IList<String>

Valori da analizzare.

parsedValues
IList<CookieHeaderValue>

Valori analizzati.

Restituisce

true se tutti gli input sono validi CookieHeaderValue, in caso contrario false.

Si applica a