MediaTypeHeaderValue.ParseList(IList<String>) Method

Definition

Takes an IList<T> of String and parses it into the MediaTypeHeaderValue and its associated parameters.

public:
 static System::Collections::Generic::IList<Microsoft::Net::Http::Headers::MediaTypeHeaderValue ^> ^ ParseList(System::Collections::Generic::IList<System::String ^> ^ inputs);
public static System.Collections.Generic.IList<Microsoft.Net.Http.Headers.MediaTypeHeaderValue> ParseList (System.Collections.Generic.IList<string> inputs);
public static System.Collections.Generic.IList<Microsoft.Net.Http.Headers.MediaTypeHeaderValue> ParseList (System.Collections.Generic.IList<string>? inputs);
static member ParseList : System.Collections.Generic.IList<string> -> System.Collections.Generic.IList<Microsoft.Net.Http.Headers.MediaTypeHeaderValue>
Public Shared Function ParseList (inputs As IList(Of String)) As IList(Of MediaTypeHeaderValue)

Parameters

inputs
IList<String>

A list of media types

Returns

IList<MediaTypeHeaderValue>

The parsed MediaTypeHeaderValue.

Applies to