Interop.ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.