共用方式為


DbComplexPropertyEntry<TEntity, TComplexProperty>.ComplexProperty 方法 (String)

[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]

取得代表此屬性之巢狀複雜屬性的物件。

命名空間:  System.Data.Entity.Infrastructure
組件:  EntityFramework (在 EntityFramework.dll 中)

語法

'宣告
Public Function ComplexProperty ( _
    propertyName As String _
) As DbComplexPropertyEntry
'用途
Dim instance As DbComplexPropertyEntry 
Dim propertyName As String 
Dim returnValue As DbComplexPropertyEntry 

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

參數

傳回值

類型:System.Data.Entity.Infrastructure.DbComplexPropertyEntry
表示巢狀屬性的物件。

請參閱

參考

DbComplexPropertyEntry<TEntity, TComplexProperty> 類別

ComplexProperty 多載

System.Data.Entity.Infrastructure 命名空間