CustomTypeDescriptor.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 an object that contains the property described by the specified property descriptor.
public:
virtual System::Object ^ GetPropertyOwner(System::ComponentModel::PropertyDescriptor ^ pd);
public virtual object GetPropertyOwner (System.ComponentModel.PropertyDescriptor pd);
public virtual object? GetPropertyOwner (System.ComponentModel.PropertyDescriptor? pd);
abstract member GetPropertyOwner : System.ComponentModel.PropertyDescriptor -> obj
override this.GetPropertyOwner : System.ComponentModel.PropertyDescriptor -> obj
Public Overridable Function GetPropertyOwner (pd As PropertyDescriptor) As Object
Parameters
The property descriptor for which to retrieve the owning object.
Returns
An Object that owns the given property specified by the type descriptor. The default is null
.
Implements
Remarks
If a parent custom type descriptor was passed into the CustomTypeDescriptor constructor, the GetPropertyOwner method will call the parent's corresponding method.
Applies to
See also
Povratne informacije
https://aka.ms/ContentUserFeedback.
Kmalu na voljo: V letu 2024 bomo ukinili storitev Težave v storitvi GitHub kot mehanizem za povratne informacije za vsebino in jo zamenjali z novim sistemom za povratne informacije. Za več informacij si oglejte:Pošlji in prikaži povratne informacije za