ContentRangeHeaderValue 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 ContentRangeHeaderValue 類別的新執行個體。
多載
| 名稱 | Description |
|---|---|
| ContentRangeHeaderValue(Int64) |
初始化 ContentRangeHeaderValue 類別的新執行個體。 |
| ContentRangeHeaderValue(Int64, Int64) |
初始化 ContentRangeHeaderValue 類別的新執行個體。 |
| ContentRangeHeaderValue(Int64, Int64, Int64) |
初始化 ContentRangeHeaderValue 類別的新執行個體。 |
ContentRangeHeaderValue(Int64)
初始化 ContentRangeHeaderValue 類別的新執行個體。
public:
ContentRangeHeaderValue(long length);
public ContentRangeHeaderValue(long length);
new System.Net.Http.Headers.ContentRangeHeaderValue : int64 -> System.Net.Http.Headers.ContentRangeHeaderValue
Public Sub New (length As Long)
參數
- length
- Int64
範圍的起點或終點,以位元組為單位。
適用於
ContentRangeHeaderValue(Int64, Int64)
初始化 ContentRangeHeaderValue 類別的新執行個體。
public:
ContentRangeHeaderValue(long from, long to);
public ContentRangeHeaderValue(long from, long to);
new System.Net.Http.Headers.ContentRangeHeaderValue : int64 * int64 -> System.Net.Http.Headers.ContentRangeHeaderValue
Public Sub New (from As Long, to As Long)
參數
- from
- Int64
以位元組為單位,開始傳送資料的位置。
- to
- Int64
停止傳送資料的位置(以位元組為單位)。
適用於
ContentRangeHeaderValue(Int64, Int64, Int64)
初始化 ContentRangeHeaderValue 類別的新執行個體。
public:
ContentRangeHeaderValue(long from, long to, long length);
public ContentRangeHeaderValue(long from, long to, long length);
new System.Net.Http.Headers.ContentRangeHeaderValue : int64 * int64 * int64 -> System.Net.Http.Headers.ContentRangeHeaderValue
Public Sub New (from As Long, to As Long, length As Long)
參數
- from
- Int64
以位元組為單位,開始傳送資料的位置。
- to
- Int64
停止傳送資料的位置(以位元組為單位)。
- length
- Int64
範圍的起點或終點,以位元組為單位。