EntityTagHeaderValue.TryParseStrictList 方法

定义

尝试使用字符串分析规则将值序列 EntityTagHeaderValue 分析为序列。

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

参数

inputs
IList<String>

要分析的值。

parsedValues
IList<EntityTagHeaderValue>

分析的值。

返回

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

适用于