Redigera

Dela via


Interop.ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor) Method

Definition

Returns the owner of the specified property descriptor or the Interop activity itself if the property descriptor has no owner.

 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

The property whose owner is to be retrieved.

Returns

The property owner or the Interop activity itself if the property descriptor has no owner.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the Interop instance is cast to an ICustomTypeDescriptor interface.

Applies to