DbConnectionStringBuilder.ICustomTypeDescriptor.GetPropertyOwner 方法

定義

傳回物件,包含指定的屬性描述項所描述的屬性。

 virtual System::Object ^ System.ComponentModel.ICustomTypeDescriptor.GetPropertyOwner(System::ComponentModel::PropertyDescriptor ^ pd) = System::ComponentModel::ICustomTypeDescriptor::GetPropertyOwner;
object ICustomTypeDescriptor.GetPropertyOwner (System.ComponentModel.PropertyDescriptor pd);
abstract member System.ComponentModel.ICustomTypeDescriptor.GetPropertyOwner : System.ComponentModel.PropertyDescriptor -> obj
override this.System.ComponentModel.ICustomTypeDescriptor.GetPropertyOwner : System.ComponentModel.PropertyDescriptor -> obj
Function GetPropertyOwner (pd As PropertyDescriptor) As Object Implements ICustomTypeDescriptor.GetPropertyOwner

參數

pd
PropertyDescriptor

PropertyDescriptor,代表要尋找其擁有者的屬性。

傳回

Object,代表指定之屬性的擁有者。

實作

備註

這個成員是明確介面成員實作, 只有在 DbConnectionStringBuilder 執行個體轉換成 ICustomTypeDescriptor 介面時,才能使用這個成員。

如需詳細資訊,請參閱GetPropertyOwner

適用於

另請參閱