CustomTypeDescriptor::GetPropertyOwner Method (PropertyDescriptor^)
.NET Framework (current version)
Returns an object that contains the property described by the specified property descriptor.
Assembly: System (in System.dll)
Parameters
- pd
-
Type:
System.ComponentModel::PropertyDescriptor^
The property descriptor for which to retrieve the owning object.
Return Value
Type: System::Object^An Object that owns the given property specified by the type descriptor. The default is null.
If a parent custom type descriptor was passed into the CustomTypeDescriptor constructor, the GetPropertyOwner method will call the parent's corresponding method.
.NET Framework
Available since 2.0
Available since 2.0
Show: