StringWithQualityHeaderValue.TryParseList 方法

定义

尝试将值序列分析为 的 StringWithQualityHeaderValue序列。

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

参数

input
IList<String>

要分析的值。

parsedValues
IList<StringWithQualityHeaderValue>

分析的值。

返回

true 如果所有输入都有效 StringWithQualityHeaderValue,则为 ,否则为 false

适用于