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 為 。

適用於