Share via


MediaTypeHeaderValue.TryParseList メソッド

定義

StringIList<T>受け取り、 とそれに関連付けられているパラメーターにMediaTypeHeaderValue解析します。

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

パラメーター

inputs
IList<String>

メディアの種類の一覧

parsedValues
IList<MediaTypeHeaderValue>

解析された MediaTypeHeaderValue

戻り値

値が正常に解析された場合は True。

適用対象