Partager via


PSObjectTypeDescriptor.GetDefaultProperty Method

Definition

Returns the default property for this object.

public:
 override System::ComponentModel::PropertyDescriptor ^ GetDefaultProperty();
public override System.ComponentModel.PropertyDescriptor GetDefaultProperty ();
override this.GetDefaultProperty : unit -> System.ComponentModel.PropertyDescriptor
Public Overrides Function GetDefaultProperty () As PropertyDescriptor

Returns

An PSObjectPropertyDescriptor that represents the default property for this object, or a null reference (Nothing in Visual Basic) if this object does not have properties.

Applies to