MediaTypeHeaderValueComparer Class
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.
Implementation of IComparer<T> that can compare accept media type header fields based on their quality values (a.k.a q-values).
public ref class MediaTypeHeaderValueComparer : System::Collections::Generic::IComparer<Microsoft::Net::Http::Headers::MediaTypeHeaderValue ^>
public class MediaTypeHeaderValueComparer : System.Collections.Generic.IComparer<Microsoft.Net.Http.Headers.MediaTypeHeaderValue>
type MediaTypeHeaderValueComparer = class
interface IComparer<MediaTypeHeaderValue>
Public Class MediaTypeHeaderValueComparer
Implements IComparer(Of MediaTypeHeaderValue)
- Inheritance
-
MediaTypeHeaderValueComparer
- Implements
Properties
QualityComparer |
Gets the MediaTypeHeaderValueComparer instance. |
Methods
Compare(MediaTypeHeaderValue, MediaTypeHeaderValue) | Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for