PSObjectTypeDescriptor.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 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.