PSObjectTypeDescriptor Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Provides information about the properties of a PSObject object.

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

System.Object
  System.ComponentModel.CustomTypeDescriptor
    System.Management.Automation.PSObjectTypeDescriptor

public class PSObjectTypeDescriptor : CustomTypeDescriptor

NameDescription
System_CAPS_pubmethodPSObjectTypeDescriptor(PSObject)

Initializes a new instance of the PSObjectTypeDescriptor class.

NameDescription
System_CAPS_pubpropertyInstance

Gets the PSObject object whose property information is retrieved.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the current PSObject object is equal to a specified object.(Overrides Object.Equals(Object).)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetAttributes()

Gets the attributes of the PSObject object.(Overrides CustomTypeDescriptor.GetAttributes().)

System_CAPS_pubmethodGetClassName()

Retrieves the name of the .NET Framework class of the PSObject object.(Overrides CustomTypeDescriptor.GetClassName().)

System_CAPS_pubmethodGetComponentName()

Retrieves the name of this PSObject object.(Overrides CustomTypeDescriptor.GetComponentName().)

System_CAPS_pubmethodGetConverter()

Retrieves the type converter for the PSObject object.(Overrides CustomTypeDescriptor.GetConverter().)

System_CAPS_pubmethodGetDefaultEvent()

Retrieves the default event of this PSObject object.(Overrides CustomTypeDescriptor.GetDefaultEvent().)

System_CAPS_pubmethodGetDefaultProperty()

Retrieves the default property of the PSObject object.(Overrides CustomTypeDescriptor.GetDefaultProperty().)

System_CAPS_pubmethodGetEditor(Type)

Retrieves the editor of the PSObject object.(Overrides CustomTypeDescriptor.GetEditor(Type).)

System_CAPS_pubmethodGetEvents()

Gets a collection of event descriptors for the PSObject object.(Overrides CustomTypeDescriptor.GetEvents().)

System_CAPS_pubmethodGetEvents(Attribute[])

Gets a filtered collection of event descriptors for the PSObject object.(Overrides CustomTypeDescriptor.GetEvents(Attribute[]).)

System_CAPS_pubmethodGetHashCode()

Retrieves the hash code for the PSObject object.(Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetProperties()

Gets a collection of property descriptors for the PSObject object.(Overrides CustomTypeDescriptor.GetProperties().)

System_CAPS_pubmethodGetProperties(Attribute[])

Gets a filtered collection of property descriptors for the PSObject object.(Overrides CustomTypeDescriptor.GetProperties(Attribute[]).)

System_CAPS_pubmethodGetPropertyOwner(PropertyDescriptor)

Retrieves the object that a specified property is a member of.(Overrides CustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor).)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubeventGettingValueException

Occurs when an exception is thrown while getting the value of a property.

System_CAPS_pubeventSettingValueException

Occurs when an exception is thrown while setting the value of a property.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: