MediaType.CreateMediaTypeSegmentWithQuality(String, Int32) 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.
Creates an MediaTypeSegmentWithQuality containing the media type in mediaType
and its associated quality.
public:
static Microsoft::AspNetCore::Mvc::Formatters::Internal::MediaTypeSegmentWithQuality CreateMediaTypeSegmentWithQuality(System::String ^ mediaType, int start);
public:
static Microsoft::AspNetCore::Mvc::Formatters::MediaTypeSegmentWithQuality CreateMediaTypeSegmentWithQuality(System::String ^ mediaType, int start);
public static Microsoft.AspNetCore.Mvc.Formatters.Internal.MediaTypeSegmentWithQuality CreateMediaTypeSegmentWithQuality (string mediaType, int start);
public static Microsoft.AspNetCore.Mvc.Formatters.MediaTypeSegmentWithQuality CreateMediaTypeSegmentWithQuality (string mediaType, int start);
static member CreateMediaTypeSegmentWithQuality : string * int -> Microsoft.AspNetCore.Mvc.Formatters.Internal.MediaTypeSegmentWithQuality
static member CreateMediaTypeSegmentWithQuality : string * int -> Microsoft.AspNetCore.Mvc.Formatters.MediaTypeSegmentWithQuality
Public Shared Function CreateMediaTypeSegmentWithQuality (mediaType As String, start As Integer) As MediaTypeSegmentWithQuality
Parameters
- mediaType
- String
The media type to parse.
- start
- Int32
The position at which the parsing starts.
Returns
Microsoft.AspNetCore.Mvc.Formatters.Internal.MediaTypeSegmentWithQuality
The parsed media type with its associated quality.