AdoDotNetConnectionProperties.ICustomTypeDescriptor.GetPropertyOwner 方法
如需這個成員的說明,請參閱 GetPropertyOwner。
命名空間: Microsoft.VisualStudio.Data.Framework.AdoDotNet
組件: 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
型別:System.ComponentModel.PropertyDescriptor
PropertyDescriptor ,表示要搜尋其擁有者的屬性。
傳回值
型別:System.Object
傳回物件,包含指定的屬性描述項所描述的屬性。
實作
ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor)
備註
這個成員是明確介面成員實作,它只有在 ConnectionStringBuilder 轉型成 ICustomTypeDescriptor 介面時才能使用。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。