MediaTypeHeaderValue.TryParseStrictList Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Takes an IList<T> of String and parses it into the MediaTypeHeaderValue and its associated parameters.
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
Parameters
- parsedValues
- IList<MediaTypeHeaderValue>
The parsed MediaTypeHeaderValue.
Returns
True if the value was successfully parsed.