ContentRangeHeaderValue Class

Definition

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)

Initializes a new instance of ContentRangeHeaderValue.

ContentRangeHeaderValue(Int64, Int64)

Initializes a new instance of ContentRangeHeaderValue.

ContentRangeHeaderValue(Int64, Int64, 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 input as a ContentRangeHeaderValue value.

ToString()

Returns a string that represents the current object.

TryParse(String, ContentRangeHeaderValue)
TryParse(StringSegment, ContentRangeHeaderValue)

Attempts to parse the specified input as a ContentRangeHeaderValue.

Applies to