DbConnectionStringBuilder.ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor) Method

Definition

返回一个对象,该对象包含由指定的属性描述符描述的属性。Returns an object that contains the property described by the specified property descriptor.

 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

Parameters

pd
PropertyDescriptor

一个 PropertyDescriptor,表示要查找其所有者的属性。A PropertyDescriptor that represents the property whose owner is to be found.

Returns

Object

一个 Object,表示指定属性的所有者。An Object that represents the owner of the specified property.

Implements

Remarks

此成员是显式接口成员实现。This member is an explicit interface member implementation. 它只能在 DbConnectionStringBuilder 实例被强制转换为 ICustomTypeDescriptor 接口时使用。It can be used only when the DbConnectionStringBuilder instance is cast to an ICustomTypeDescriptor interface.

有关详细信息,请参阅 GetPropertyOwnerFor more information, see GetPropertyOwner.

Applies to

See also