CloudFile.ListRanges メソッド

定義

有効な範囲のコレクションとそれらの範囲の開始および終了バイトを取得します。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Collections.Generic.IEnumerable<Microsoft.Azure.Storage.File.FileRange> ListRanges (long? offset = default, long? length = default, Microsoft.Azure.Storage.AccessCondition accessCondition = default, Microsoft.Azure.Storage.File.FileRequestOptions options = default, Microsoft.Azure.Storage.OperationContext operationContext = default);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member ListRanges : Nullable<int64> * Nullable<int64> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext -> seq<Microsoft.Azure.Storage.File.FileRange>
override this.ListRanges : Nullable<int64> * Nullable<int64> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext -> seq<Microsoft.Azure.Storage.File.FileRange>
Public Overridable Function ListRanges (Optional offset As Nullable(Of Long) = Nothing, Optional length As Nullable(Of Long) = Nothing, Optional accessCondition As AccessCondition = Nothing, Optional options As FileRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing) As IEnumerable(Of FileRange)

パラメーター

offset
Nullable<Int64>

ファイル範囲の一覧を作成するデータ範囲の開始オフセット (バイト単位) です。

length
Nullable<Int64>

ファイル範囲の一覧を作成するデータ範囲の長さ (バイト単位) です。

accessCondition
AccessCondition

ファイルのアクセス条件を表す AccessCondition オブジェクトです。 null の場合、条件は使用されません。

options
FileRequestOptions

要求の追加オプションを指定する FileRequestOptions オブジェクトです。

operationContext
OperationContext

現在の操作のコンテキストを表す OperationContext オブジェクトです。

戻り値

範囲の列挙可能なコレクションです。

属性

適用対象