Freigeben über


PSObjectTypeDescriptor Class

Definition

Provides information about the properties for an object of the type PSObject.

public ref class PSObjectTypeDescriptor : System::ComponentModel::CustomTypeDescriptor
public class PSObjectTypeDescriptor : System.ComponentModel.CustomTypeDescriptor
type PSObjectTypeDescriptor = class
    inherit CustomTypeDescriptor
Public Class PSObjectTypeDescriptor
Inherits CustomTypeDescriptor
Inheritance
PSObjectTypeDescriptor

Constructors

PSObjectTypeDescriptor(PSObject)

Initializes a new instance of the PSObjectTypeDescriptor that provides property information about instance.

Properties

Instance

Gets the PSObject this class retrieves property information from.

Methods

Equals(Object)

Determines whether the Instance property of obj is equal to the current Instance.

GetAttributes()

Returns a collection of type Attribute for this object.

GetClassName()

Returns the class name of this object.

GetComponentName()

Returns the name of this object.

GetConverter()

Returns a type converter for this object.

GetDefaultEvent()

Returns the default event for this object.

GetDefaultProperty()

Returns the default property for this object.

GetEditor(Type)

Returns an editor of the specified type for this object.

GetEvents()

Returns the events for this instance of a component.

GetEvents(Attribute[])

Returns the events for this instance of a component using the attribute array as a filter.

GetHashCode()

Provides a value for hashing algorithms.

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.

GetPropertyOwner(PropertyDescriptor)

Returns the object that this value is a member of.

Events

GettingValueException

Occurs when there was an exception getting the value of a property.

SettingValueException

Occurs when there was an exception setting the value of a property.

Applies to