次の方法で共有


DbComplexPropertyEntry.Property メソッド

[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージとして入手できます。Entity Framework の詳細については、msdn.com/data/ef を参照してください。]

このプロパティの入れ子プロパティを表すオブジェクトを取得します。 このメソッドはスカラー プロパティにも複合プロパティにも使用できます。

名前空間:  System.Data.Entity.Infrastructure
アセンブリ:  EntityFramework (EntityFramework.dll 内)

構文

'宣言
Public Function Property ( _
    propertyName As String _
) As DbPropertyEntry
'使用
Dim instance As DbComplexPropertyEntry 
Dim propertyName As String 
Dim returnValue As DbPropertyEntry 

returnValue = instance.Property(propertyName)
public DbPropertyEntry Property(
    string propertyName
)
public:
DbPropertyEntry^ Property(
    String^ propertyName
)
member Property : 
        propertyName:string -> DbPropertyEntry
public function Property(
    propertyName : String
) : DbPropertyEntry

パラメーター

  • propertyName
    型 : System.String
    入れ子プロパティの名前。

戻り値

型 : System.Data.Entity.Infrastructure.DbPropertyEntry
入れ子プロパティを表すオブジェクト。

参照

参照

DbComplexPropertyEntry クラス

System.Data.Entity.Infrastructure 名前空間