HashIndex コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
HashIndex(DataType) |
Azure Cosmos DB サービスの DataType を HashIndex 指定して、 クラスの新しいインスタンスを初期化します。 |
HashIndex(DataType, Int16) |
Azure Cosmos DB サービスの DataType と有効桁数を HashIndex 指定して、 クラスの新しいインスタンスを初期化します。 |
HashIndex(DataType)
Azure Cosmos DB サービスの DataType を HashIndex 指定して、 クラスの新しいインスタンスを初期化します。
public HashIndex (Microsoft.Azure.Documents.DataType dataType);
new Microsoft.Azure.Documents.HashIndex : Microsoft.Azure.Documents.DataType -> Microsoft.Azure.Documents.HashIndex
Public Sub New (dataType As DataType)
パラメーター
- dataType
- DataType
インデックス パス指定のターゲット データ型を指定します。
例
DataType を渡す HashIndex クラスをインスタンス化する例を次に示します。
HashIndex hashIndex = new HashIndex(DataType.String);
こちらもご覧ください
適用対象
HashIndex(DataType, Int16)
Azure Cosmos DB サービスの DataType と有効桁数を HashIndex 指定して、 クラスの新しいインスタンスを初期化します。
public HashIndex (Microsoft.Azure.Documents.DataType dataType, short precision);
new Microsoft.Azure.Documents.HashIndex : Microsoft.Azure.Documents.DataType * int16 -> Microsoft.Azure.Documents.HashIndex
Public Sub New (dataType As DataType, precision As Short)
パラメーター
- dataType
- DataType
インデックス パス指定のターゲット データ型を指定します。
- precision
- Int16
このインデックスに関連付けられているデータ型に使用する有効桁数を指定します。
例
DataType と有効桁数を渡して HashIndex クラスをインスタンス化する例を次に示します。
HashIndex hashIndex = new HashIndex(DataType.String, 3);
こちらもご覧ください
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET