SetCookieHeaderValue.TryParseList Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Attempts to parse the sequence of values as a sequence of 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
Parameters
- parsedValues
- IList<SetCookieHeaderValue>
The parsed values.
Returns
true
if all inputs are valid SetCookieHeaderValue, otherwise false
.