SetCookieHeaderValue.TryParseStrictList Method

Definition

Attempts to parse the sequence of values as a sequence of SetCookieHeaderValue using string parsing rules.

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

Parameters

inputs
IList<String>

The values to parse.

parsedValues
IList<SetCookieHeaderValue>

The parsed values.

Returns

true if all inputs are valid StringWithQualityHeaderValue, otherwise false.

Applies to