DataRowView.ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor) 方法

定义

返回一个对象,该对象包含指定的属性描述符所描述的属性。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

参数

pd
PropertyDescriptor

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

返回

Object

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

实现

注解

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

适用于