PSObjectTypeDescriptor.GetProperties Method

Definition

Overloads

GetProperties()

Returns a collection of property descriptors for the PSObject represented by this type descriptor.

GetProperties(Attribute[])

Returns a filtered collection of property descriptors for the PSObject represented by this type descriptor.

GetProperties()

Returns a collection of property descriptors for the PSObject represented by this type descriptor.

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

Returns

A PropertyDescriptorCollection containing the property descriptions for the PSObject represented by this type descriptor.

Applies to

GetProperties(Attribute[])

Returns a filtered collection of property descriptors for the PSObject represented by this type descriptor.

public:
 override System::ComponentModel::PropertyDescriptorCollection ^ GetProperties(cli::array <Attribute ^> ^ attributes);
public override System.ComponentModel.PropertyDescriptorCollection GetProperties (Attribute[] attributes);
override this.GetProperties : Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
Public Overrides Function GetProperties (attributes As Attribute()) As PropertyDescriptorCollection

Parameters

attributes
Attribute[]

An array of attributes to use as a filter. This can be a null reference (Nothing in Visual Basic).

Returns

A PropertyDescriptorCollection containing the property descriptions for the PSObject represented by this type descriptor.

Applies to