ICustomTypeDescriptor.GetDefaultProperty Method

Definition

Returns the default property for this instance of a component.

public:
 System::ComponentModel::PropertyDescriptor ^ GetDefaultProperty();
public System.ComponentModel.PropertyDescriptor GetDefaultProperty ();
public System.ComponentModel.PropertyDescriptor? GetDefaultProperty ();
abstract member GetDefaultProperty : unit -> System.ComponentModel.PropertyDescriptor
Public Function GetDefaultProperty () As PropertyDescriptor

Returns

A PropertyDescriptor that represents the default property for this object, or null if this object does not have properties.

Applies to

See also