MediaTypeHeaderValue.TryParseList Méthode

Définition

Prend un IList<T> de String et l’analyse dans les MediaTypeHeaderValue paramètres et associés.

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

Paramètres

inputs
IList<String>

Liste des types de média

Retours

True si la valeur a été correctement analysée.

S’applique à