Share via


Index.Range メソッド

定義

オーバーロード

Range(DataType)

Azure Cosmos DB サービスに対して RangeIndex 指定された DataType を持つ クラスのインスタンスを返します。

Range(DataType, Int16)

指定された DataType と Azure Cosmos DB サービスの RangeIndex 有効桁数を持つ クラスのインスタンスを返します。

Range(DataType)

Azure Cosmos DB サービスに対して RangeIndex 指定された DataType を持つ クラスのインスタンスを返します。

public static Microsoft.Azure.Documents.RangeIndex Range (Microsoft.Azure.Documents.DataType dataType);
static member Range : Microsoft.Azure.Documents.DataType -> Microsoft.Azure.Documents.RangeIndex
Public Shared Function Range (dataType As DataType) As RangeIndex

パラメーター

dataType
DataType

インデックス パス指定のターゲット データ型を指定します。

戻り値

型の RangeIndex インスタンス。

DataType を渡す RangeIndex インスタンスを作成する例を次に示します。

RangeIndex rangeIndex = Index.Range(DataType.Number);

こちらもご覧ください

適用対象

Range(DataType, Int16)

指定された DataType と Azure Cosmos DB サービスの RangeIndex 有効桁数を持つ クラスのインスタンスを返します。

public static Microsoft.Azure.Documents.RangeIndex Range (Microsoft.Azure.Documents.DataType dataType, short precision);
static member Range : Microsoft.Azure.Documents.DataType * int16 -> Microsoft.Azure.Documents.RangeIndex
Public Shared Function Range (dataType As DataType, precision As Short) As RangeIndex

パラメーター

dataType
DataType

インデックス パス指定のターゲット データ型を指定します。

precision
Int16

このインデックスに関連付けられているデータ型に使用する有効桁数を指定します。

戻り値

型の RangeIndex インスタンス。

DataType と有効桁数を渡す RangeIndex インスタンスを作成する例を次に示します。

RangeIndex rangeIndex = Index.Range(DataType.Number, -1);

こちらもご覧ください

適用対象