PSObjectPropertyDescriptor Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Provides information about a property of an adapted object or a PSObject object.

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

System.Object
  System.ComponentModel.MemberDescriptor
    System.ComponentModel.PropertyDescriptor
      System.Management.Automation.PSObjectPropertyDescriptor

public class PSObjectPropertyDescriptor : PropertyDescriptor

NameDescription
System_CAPS_protpropertyAttributeArray

(Inherited from MemberDescriptor.)

System_CAPS_pubpropertyAttributes

Gets the attributes for the property.(Overrides MemberDescriptor.Attributes.)

System_CAPS_pubpropertyCategory

(Inherited from MemberDescriptor.)

System_CAPS_pubpropertyComponentType

Gets the .NET type of the adapted object or PSObject object that this property is bound to.(Overrides PropertyDescriptor.ComponentType.)

System_CAPS_pubpropertyConverter

(Inherited from PropertyDescriptor.)

System_CAPS_pubpropertyDescription

(Inherited from MemberDescriptor.)

System_CAPS_pubpropertyDesignTimeOnly

(Inherited from MemberDescriptor.)

System_CAPS_pubpropertyDisplayName

(Inherited from MemberDescriptor.)

System_CAPS_pubpropertyIsBrowsable

(Inherited from MemberDescriptor.)

System_CAPS_pubpropertyIsLocalizable

(Inherited from PropertyDescriptor.)

System_CAPS_pubpropertyIsReadOnly

Gets a Boolean value that indicates if the property is read-only.(Overrides PropertyDescriptor.IsReadOnly.)

System_CAPS_pubpropertyName

(Inherited from MemberDescriptor.)

System_CAPS_protpropertyNameHashCode

(Inherited from MemberDescriptor.)

System_CAPS_pubpropertyPropertyType

Gets the .NET type of the property.(Overrides PropertyDescriptor.PropertyType.)

System_CAPS_pubpropertySerializationVisibility

(Inherited from PropertyDescriptor.)

System_CAPS_pubpropertySupportsChangeEvents

(Inherited from PropertyDescriptor.)

NameDescription
System_CAPS_pubmethodAddValueChanged(Object, EventHandler)

(Inherited from PropertyDescriptor.)

System_CAPS_pubmethodCanResetValue(Object)

Returns false to indicate that ResetValue has no effect.(Overrides PropertyDescriptor.CanResetValue(Object).)

System_CAPS_protmethodCreateAttributeCollection()

(Inherited from MemberDescriptor.)

System_CAPS_protmethodCreateInstance(Type)

(Inherited from PropertyDescriptor.)

System_CAPS_pubmethodEquals(Object)

(Inherited from PropertyDescriptor.)

System_CAPS_protmethodFillAttributes(IList)

(Inherited from PropertyDescriptor.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetChildProperties()

(Inherited from PropertyDescriptor.)

System_CAPS_pubmethodGetChildProperties(Attribute[])

(Inherited from PropertyDescriptor.)

System_CAPS_pubmethodGetChildProperties(Object)

(Inherited from PropertyDescriptor.)

System_CAPS_pubmethodGetChildProperties(Object, Attribute[])

(Inherited from PropertyDescriptor.)

System_CAPS_pubmethodGetEditor(Type)

(Inherited from PropertyDescriptor.)

System_CAPS_pubmethodGetHashCode()

(Inherited from PropertyDescriptor.)

System_CAPS_protmethodGetInvocationTarget(Type, Object)

(Inherited from PropertyDescriptor.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodGetTypeFromName(String)

(Inherited from PropertyDescriptor.)

System_CAPS_pubmethodGetValue(Object)

Gets the current value of the property.(Overrides PropertyDescriptor.GetValue(Object).)

System_CAPS_protmethodGetValueChangedHandler(Object)

(Inherited from PropertyDescriptor.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodOnValueChanged(Object, EventArgs)

(Inherited from PropertyDescriptor.)

System_CAPS_pubmethodRemoveValueChanged(Object, EventHandler)

(Inherited from PropertyDescriptor.)

System_CAPS_pubmethodResetValue(Object)

This method has no effect for PSObjectPropertyDescriptor CanResetValue returns false.(Overrides PropertyDescriptor.ResetValue(Object).)

System_CAPS_pubmethodSetValue(Object, Object)

Sets the value of the property.(Overrides PropertyDescriptor.SetValue(Object, Object).)

System_CAPS_pubmethodShouldSerializeValue(Object)

Indicates if the value of this property must be persisted.(Overrides PropertyDescriptor.ShouldSerializeValue(Object).)

System_CAPS_pubmethodToString()

(Inherited from Object.)

There is no established scenario for deriving from this class.

This information is generated by a call to the GetProperties method.

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

Community Additions

ADD
Show: