MediaTypeHeaderValue.TryParseList Metoda

Definice

IList<T> Vezme z String a parsuje ho MediaTypeHeaderValue do a jeho přidružených parametrů.

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

Parametry

inputs
IList<String>

Seznam typů médií

parsedValues
IList<MediaTypeHeaderValue>

Analyzovaný MediaTypeHeaderValue.

Návraty

Hodnota True, pokud byla hodnota úspěšně analyzována.

Platí pro