Edit

Share via


ContentRangeHeaderValue Class

Definition

Represents the value of the Content-Range header.

public ref class ContentRangeHeaderValue
public ref class ContentRangeHeaderValue : ICloneable
public class ContentRangeHeaderValue
public class ContentRangeHeaderValue : ICloneable
type ContentRangeHeaderValue = class
type ContentRangeHeaderValue = class
    interface ICloneable
Public Class ContentRangeHeaderValue
Public Class ContentRangeHeaderValue
Implements ICloneable
Inheritance
ContentRangeHeaderValue
Implements

Constructors

ContentRangeHeaderValue(Int64)

Initializes a new instance of the ContentRangeHeaderValue class.

ContentRangeHeaderValue(Int64, Int64)

Initializes a new instance of the ContentRangeHeaderValue class.

ContentRangeHeaderValue(Int64, Int64, Int64)

Initializes a new instance of the ContentRangeHeaderValue class.

Properties

From

Gets the position at which to start sending data.

HasLength

Gets whether the Content-Range header has a length specified.

HasRange

Gets whether the Content-Range has a range specified.

Length

Gets the length of the full entity-body.

To

Gets the position at which to stop sending data.

Unit

The range units used.

Methods

Equals(Object)

Determines whether the specified Object is equal to the current ContentRangeHeaderValue object.

GetHashCode()

Serves as a hash function for an ContentRangeHeaderValue object.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Parse(String)

Converts a string to an ContentRangeHeaderValue instance.

ToString()

Returns a string that represents the current ContentRangeHeaderValue object.

TryParse(String, ContentRangeHeaderValue)

Determines whether a string is valid ContentRangeHeaderValue information.

Explicit Interface Implementations

ICloneable.Clone()

Creates a new object that is a copy of the current ContentRangeHeaderValue instance.

Applies to