次の方法で共有


HashIndex コンストラクター

定義

オーバーロード

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);

こちらもご覧ください

適用対象