Edit

Share via


RangeConditionHeaderValue Class

Definition

Represents an If-Range header value which can either be a date/time or an entity-tag value.

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

Remarks

The RangeConditionHeaderValue class provides support for the If-Range header as defined in RFC 2616 by the IETF.

Constructors

RangeConditionHeaderValue(DateTimeOffset)

Initializes a new instance of the RangeConditionHeaderValue class.

RangeConditionHeaderValue(EntityTagHeaderValue)

Initializes a new instance of the RangeConditionHeaderValue class.

RangeConditionHeaderValue(String)

Initializes a new instance of the RangeConditionHeaderValue class.

Properties

Date

Gets the date from the RangeConditionHeaderValue object.

EntityTag

Gets the entity tag from the RangeConditionHeaderValue object.

Methods

Equals(Object)

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

GetHashCode()

Serves as a hash function for an RangeConditionHeaderValue 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 RangeConditionHeaderValue instance.

ToString()

Returns a string that represents the current RangeConditionHeaderValue object.

TryParse(String, RangeConditionHeaderValue)

Determines whether a string is valid RangeConditionHeaderValue information.

Explicit Interface Implementations

ICloneable.Clone()

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

Applies to