CosmosPropertyExtensions.SetVectorDimensions メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| Name | 説明 |
|---|---|
| SetVectorDimensions(IMutableProperty, Nullable<Int32>) |
このプロパティに格納されているベクターの次元を設定します。 |
| SetVectorDimensions(IConventionProperty, Nullable<Int32>, Boolean) |
このプロパティに格納されているベクターの次元を設定します。 |
SetVectorDimensions(IMutableProperty, Nullable<Int32>)
このプロパティに格納されているベクターの次元を設定します。
public static void SetVectorDimensions(this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, int? dimensions);
static member SetVectorDimensions : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty * Nullable<int> -> unit
<Extension()>
Public Sub SetVectorDimensions (property As IMutableProperty, dimensions As Nullable(Of Integer))
パラメーター
- property
- IMutableProperty
プロパティ。
適用対象
SetVectorDimensions(IConventionProperty, Nullable<Int32>, Boolean)
このプロパティに格納されているベクターの次元を設定します。
public static int? SetVectorDimensions(this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, int? dimensions, bool fromDataAnnotation = false);
static member SetVectorDimensions : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * Nullable<int> * bool -> Nullable<int>
<Extension()>
Public Function SetVectorDimensions (property As IConventionProperty, dimensions As Nullable(Of Integer), Optional fromDataAnnotation As Boolean = false) As Nullable(Of Integer)
パラメーター
- property
- IConventionProperty
プロパティ。
- fromDataAnnotation
- Boolean
構成がデータ注釈を使用して指定されたかどうかを示します。
戻り値
構成された値。