共用方式為


DataConnectionProperties.ICustomTypeDescriptor.GetPropertyOwner 方法

擷取物件的屬性所指定的屬性描述項所描述的。

命名空間:  Microsoft.VisualStudio.Data.Framework
組件:  Microsoft.VisualStudio.Data.Framework (在 Microsoft.VisualStudio.Data.Framework.dll 中)

語法

'宣告
Private Function GetPropertyOwner ( _
    pd As PropertyDescriptor _
) As Object Implements ICustomTypeDescriptor.GetPropertyOwner
Object ICustomTypeDescriptor.GetPropertyOwner(
    PropertyDescriptor pd
)
private:
virtual Object^ GetPropertyOwner(
    PropertyDescriptor^ pd
) sealed = ICustomTypeDescriptor::GetPropertyOwner
private abstract GetPropertyOwner : 
        pd:PropertyDescriptor -> Object  
private override GetPropertyOwner : 
        pd:PropertyDescriptor -> Object
JScript 不支援明確介面實作。

參數

  • pd
    類型:PropertyDescriptor

    表示要搜尋其擁有者的屬性的 PropertyDescriptor

傳回值

類型:Object
表示指定之屬性的擁有者的 Object

實作

ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor)

備註

這個方法會提供 GetPropertyOwner 方法的實作。 如需詳細資訊,請參閱 GetPropertyOwner(System.ComponentModel.PropertyDescriptor) 方法至 .NET Framework 類別庫中。

.NET Framework 安全性

請參閱

參考

DataConnectionProperties 類別

Microsoft.VisualStudio.Data.Framework 命名空間