System::Net::Http::Headers::RangeHeaderValue class

RangeHeaderValue class

Represents a value of the ‘Range’ 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 RangeHeaderValue : public System::ICloneable

Methods

MethodDescription
Equals(System::SharedPtr<Object>) overrideCompares objects using C# Object.Equals semantics.
get_Ranges()Returns the collection of the ranges.
get_Unit()RTTI information.
GetHashCode() const overrideAnalog of C# Object.GetHashCode() method. Enables hashing of custom objects.
static GetRangeLength(String, int32_t, System::SharedPtr<Object>&)Converts a passed string from the specified index to an instance of the RangeHeaderValue class.
static Parse(String)Converts a passed string to an instance of the RangeHeaderValue class.
RangeHeaderValue()Constructs a new instance.
RangeHeaderValue(Nullable<int64_t>, Nullable<int64_t>)Constructs a new instance.
set_Unit(String)Sets a unit.
ToString() const overrideAnalog of C# Object.ToString() method. Enables converting custom objects to string.
static TryParse(String, System::SharedPtr<RangeHeaderValue>&)Tries to convert a passed string to an instance of the RangeHeaderValue class.

See Also