HttpRange Struct

Definition

Defines a range of bytes within an HTTP resource, starting at an offset and ending at offset+count-1 inclusively.

public readonly struct HttpRange : IEquatable<Azure.HttpRange>
type HttpRange = struct
Public Structure HttpRange
Implements IEquatable(Of HttpRange)
Inheritance
HttpRange
Implements

Constructors

HttpRange(Int64, Nullable<Int64>)

Creates an instance of HttpRange.

Properties

Length

Gets the size of the HttpRange. null means the range extends all the way to the end.

Offset

Gets the starting offset of the HttpRange.

Methods

Equals(HttpRange)

Check if two HttpRange instances are equal.

ToString()

Converts the specified range to a string.

Operators

Equality(HttpRange, HttpRange)

Check if two HttpRange instances are equal.

Inequality(HttpRange, HttpRange)

Check if two HttpRange instances are not equal.

Applies to