DataConnectionProperties.ICustomTypeDescriptor.GetPropertyOwner 方法
擷取包含指定的屬性描述項所描述之屬性的物件。
命名空間: Microsoft.VisualStudio.Data
組件: Microsoft.VisualStudio.Data (在 Microsoft.VisualStudio.Data.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
型別:System.ComponentModel.PropertyDescriptor
表示要找出主控的屬性 PropertyDescriptor 。
傳回值
型別:System.Object
傳回表示指定之屬性的擁有者的 Object 。
實作
ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor)
備註
這個方法 GetPropertyOwner 提供方法的實作。如需詳細資訊 .NET Framework 在類別庫中看到 GetPropertyOwner(System.ComponentModel.PropertyDescriptor) 方法。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。