Share via


StringWithQualityHeaderValue.TryParseStrictList Method

Definition

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

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

Parameters

input
IList<String>

The values to parse.

parsedValues
IList<StringWithQualityHeaderValue>

The parsed values.

Returns

true if all inputs are valid StringWithQualityHeaderValue, otherwise false.

Applies to