System::Net::Http::Headers::ContentRangeHeaderValue class
Contents
[
Hide
]ContentRangeHeaderValue class
Represents a value of the ‘Content-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 ContentRangeHeaderValue : public System::ICloneable
Methods
Method | Description |
---|---|
ContentRangeHeaderValue(int64_t, int64_t, int64_t) | Constructs a new instance. |
ContentRangeHeaderValue(int64_t) | Constructs a new instance. |
ContentRangeHeaderValue(int64_t, int64_t) | Constructs a new instance. |
Equals(System::SharedPtr<Object>) override | Compares objects using C# Object.Equals semantics. |
get_From() | Gets a position at which data sending must start. |
get_HasLength() const | Gets a value that indicates if the length is specified for the current header. |
get_HasRange() const | Gets a value that indicates if the range is specified for the current header. |
get_Length() | Gets the length of an entity body. |
get_To() | Gets a position at which data sending must stop. |
get_Unit() | RTTI information. |
static GetContentRangeLength(String, int32_t, System::SharedPtr<Object>&) | Converts a passed string from the specified position to an instance of the ContentRangeHeaderValue class. |
GetHashCode() const override | Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. |
static Parse(String) | Converts a passed string to an instance of the ContentRangeHeaderValue class. |
set_Unit(String) | Sets units used in the range. |
ToString() const override | Analog of C# Object.ToString() method. Enables converting custom objects to string. |
static TryParse(String, System::SharedPtr<ContentRangeHeaderValue>&) | Tries to convert a passed string to an instance of the ContentRangeHeaderValue class. |
See Also
- Class ICloneable
- Namespace System::Net::Http::Headers
- Library Aspose.PUB for C++