CustomTypeDescriptor.GetDefaultProperty 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 property descriptor for the default property of the object represented by this type descriptor.
public:
virtual System::ComponentModel::PropertyDescriptor ^ GetDefaultProperty();
public virtual System.ComponentModel.PropertyDescriptor GetDefaultProperty ();
public virtual System.ComponentModel.PropertyDescriptor? GetDefaultProperty ();
abstract member GetDefaultProperty : unit -> System.ComponentModel.PropertyDescriptor
override this.GetDefaultProperty : unit -> System.ComponentModel.PropertyDescriptor
Public Overridable Function GetDefaultProperty () As PropertyDescriptor
Returns
A PropertyDescriptor for the default property on the object represented by this type descriptor. The default is null
.
Implements
Remarks
If a parent custom type descriptor was passed into the CustomTypeDescriptor constructor, the GetDefaultProperty method will call the parent's corresponding method.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om