System::Net::Http::Headers::MediaTypeWithQualityHeaderValue class
Contents
[
Hide
]MediaTypeWithQualityHeaderValue class
Represents a MIME type with an additional quality factor in a value of the ‘Content-Type’ header. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
class MediaTypeWithQualityHeaderValue : public System::Net::Http::Headers::MediaTypeHeaderValue
Methods
Method | Description |
---|---|
get_Quality() | RTTI information. |
MediaTypeWithQualityHeaderValue() | Constructs a new instance. |
MediaTypeWithQualityHeaderValue(String) | Constructs a new instance. |
MediaTypeWithQualityHeaderValue(String, double) | Constructs a new instance. |
static Parse(String) | Converts a passed string to an instance of the MediaTypeWithQualityHeaderValue class. |
set_Quality(Nullable<double>) | Sets a quality value. |
static TryParse(String, System::SharedPtr<MediaTypeWithQualityHeaderValue>&) | Tries to convert a passed string to an instance of the MediaTypeWithQualityHeaderValue class. |
See Also
- Class MediaTypeHeaderValue
- Namespace System::Net::Http::Headers
- Library Aspose.PDF for C++