Condividi tramite


SetCookieHeaderValue.TryParseList Metodo

Definizione

Tenta di analizzare la sequenza di valori come sequenza di SetCookieHeaderValue.

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

Parametri

inputs
IList<String>

Valori da analizzare.

parsedValues
IList<SetCookieHeaderValue>

Valori analizzati.

Restituisce

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

Si applica a