SubMenuStyle.ICustomTypeDescriptor.GetPropertyOwner 方法

定義

如需這個成員的說明,請參閱 GetPropertyOwner(PropertyDescriptor)

 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,代表指定之屬性的擁有者。

實作

備註

這個成員是明確介面成員實作, 它只能在實例轉換成 ICustomTypeDescriptor 介面時 SubMenuStyle 使用。

適用於