RangeHeaderValue Class

Definition

Represents a Range header value.

The RangeHeaderValue class provides support for the Range header as defined in RFC 2616.

public ref class RangeHeaderValue
public class RangeHeaderValue
type RangeHeaderValue = class
Public Class RangeHeaderValue
Inheritance
RangeHeaderValue

Constructors

RangeHeaderValue()

Initializes a new instance of RangeHeaderValue.

RangeHeaderValue(Nullable<Int64>, Nullable<Int64>)

Initializes a new instance of RangeHeaderValue.

Properties

Ranges

Gets the ranges specified in the header.

Unit

Gets or sets the unit from the header.

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 RangeHeaderValue value.

ToString()

Returns a string that represents the current object.

TryParse(String, RangeHeaderValue)
TryParse(StringSegment, RangeHeaderValue)

Attempts to parse the specified input as a RangeHeaderValue.

Applies to