IMutableTypeBase.AddIndexerProperty(String, Type) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
インデクサーによってバックアップされたプロパティをこの型に追加します。
public virtual Microsoft.EntityFrameworkCore.Metadata.IMutableProperty AddIndexerProperty (string name, Type propertyType);
abstract member AddIndexerProperty : string * Type -> Microsoft.EntityFrameworkCore.Metadata.IMutableProperty
override this.AddIndexerProperty : string * Type -> Microsoft.EntityFrameworkCore.Metadata.IMutableProperty
Public Overridable Function AddIndexerProperty (name As String, propertyType As Type) As IMutableProperty
パラメーター
- name
- String
追加するプロパティの名前。
- propertyType
- Type
プロパティが保持する値の型。
戻り値
新しく作成されたプロパティ。
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Entity Framework