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.

適用於