System::Net::Http::Headers::StringWithQualityHeaderValue class
Contents
[
Hide
]StringWithQualityHeaderValue class
Represents a value with an additional quality of a string 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 StringWithQualityHeaderValue : public System::ICloneable
Methods
Method | Description |
---|---|
Equals(System::SharedPtr<Object>) override | Compares objects using C# Object.Equals semantics. |
get_Quality() | Returns a quality. |
get_Value() | RTTI information. |
GetHashCode() const override | Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. |
static GetStringWithQualityLength(String, int32_t, System::SharedPtr<Object>&) | Converts a passed string from the specified index to an instance of the StringWithQualityHeaderValue class. |
static Parse(String) | Converts a passed string to an instance of the StringWithQualityHeaderValue class. |
StringWithQualityHeaderValue(String) | Constructs a new instance. |
StringWithQualityHeaderValue(String, double) | Constructs a new instance. |
ToString() const override | Analog of C# Object.ToString() method. Enables converting custom objects to string. |
static TryParse(String, System::SharedPtr<StringWithQualityHeaderValue>&) | Tries to convert a passed string to an instance of the StringWithQualityHeaderValue class. |
See Also
- Class ICloneable
- Namespace System::Net::Http::Headers
- Library Aspose.TeX for C++