ContentRangeHeaderValue 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.
Represents a Content-Range
response HTTP header.
public ref class ContentRangeHeaderValue
public class ContentRangeHeaderValue
type ContentRangeHeaderValue = class
Public Class ContentRangeHeaderValue
- Inheritance
-
ContentRangeHeaderValue
Constructors
ContentRangeHeaderValue(Int64, Int64, Int64) |
Initializes a new instance of ContentRangeHeaderValue. |
ContentRangeHeaderValue(Int64, Int64) |
Initializes a new instance of ContentRangeHeaderValue. |
ContentRangeHeaderValue(Int64) |
Initializes a new instance of ContentRangeHeaderValue. |
Properties
From |
Gets the start of the range. |
HasLength |
Gets a value that determines if Length has been specified. |
HasRange |
Gets a value that determines if From and To have been specified. |
Length |
Gets the total size of the document. |
To |
Gets the end of the range. |
Unit |
Gets or sets the unit in which ranges are specified. |
Methods
Equals(Object) | Determines whether the specified object is equal to the current object. |
GetHashCode() | Serves as the default hash function. |
Parse(String) | |
Parse(StringSegment) |
Parses |
ToString() | Returns a string that represents the current object. |
TryParse(String, ContentRangeHeaderValue) | |
TryParse(StringSegment, ContentRangeHeaderValue) |
Attempts to parse the specified |