Compartir a través de


MediaTypeHeaderValue.TryParseStrictList Método

Definición

Toma un IList<T> de String y lo analiza en y MediaTypeHeaderValue sus parámetros asociados.

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

Parámetros

inputs
IList<String>

Una lista de tipos de medios

parsedValues
IList<MediaTypeHeaderValue>

El objeto MediaTypeHeaderValue analizado.

Devoluciones

True si el valor se ha analizado correctamente.

Se aplica a