ContentRangeHeaderValue ContentRangeHeaderValue ContentRangeHeaderValue ContentRangeHeaderValue Class

Definition

Represents the value of the Content-Range header.

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

Constructors

ContentRangeHeaderValue(Int64) ContentRangeHeaderValue(Int64) ContentRangeHeaderValue(Int64) ContentRangeHeaderValue(Int64)

Initializes a new instance of the ContentRangeHeaderValue class.

ContentRangeHeaderValue(Int64, Int64) ContentRangeHeaderValue(Int64, Int64) ContentRangeHeaderValue(Int64, Int64) ContentRangeHeaderValue(Int64, Int64)

Initializes a new instance of the ContentRangeHeaderValue class.

ContentRangeHeaderValue(Int64, Int64, Int64) ContentRangeHeaderValue(Int64, Int64, Int64) ContentRangeHeaderValue(Int64, Int64, Int64) ContentRangeHeaderValue(Int64, Int64, Int64)

Initializes a new instance of the ContentRangeHeaderValue class.

Properties

From From From From

Gets the position at which to start sending data.

HasLength HasLength HasLength HasLength

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

HasRange HasRange HasRange HasRange

Gets whether the Content-Range has a range specified.

Length Length Length Length

Gets the length of the full entity-body.

To To To To

Gets the position at which to stop sending data.

Unit Unit Unit Unit

The range units used.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as a hash function for an ContentRangeHeaderValue object.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Parse(String) Parse(String) Parse(String) Parse(String)

Converts a string to an ContentRangeHeaderValue instance.

ToString() ToString() ToString() ToString()

Returns a string that represents the current ContentRangeHeaderValue object.

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

Determines whether a string is valid ContentRangeHeaderValue information.

Explicit Interface Implementations

ICloneable.Clone() ICloneable.Clone() ICloneable.Clone() ICloneable.Clone()

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

Applies to