Index.Range メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
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);
こちらもご覧ください
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET