Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PSPropertyInfo Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Serves as a base class for all extended members of a PSObject object that behave like properties. This can include alias, code, note, and script properties.

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


public abstract class PSPropertyInfo : PSMemberInfo

NameDescription
System_CAPS_protmethodPSPropertyInfo()

Creates a new instance of the PSPropertyInfo class.

NameDescription
System_CAPS_pubpropertyIsGettable

Gets a Boolean value that indicates whether the value of the extended property can be retrieved.

System_CAPS_pubpropertyIsInstance

Gets a value that indicates whether the source of the member is a type configuration file.(Inherited from PSMemberInfo.)

System_CAPS_pubpropertyIsSettable

Gets a Boolean value that indicates whether the value of the extended property can be set.

System_CAPS_pubpropertyMemberType

When overridden in a derived class, gets the Extended Type System (ETS) member type of the member.(Inherited from PSMemberInfo.)

System_CAPS_pubpropertyName

Gets the name of the extended member (method, property, or member set).(Inherited from PSMemberInfo.)

System_CAPS_pubpropertyTypeNameOfValue

When overridden in a derived class, gets the name of the .NET Framework type of the member value.(Inherited from PSMemberInfo.)

System_CAPS_pubpropertyValue

When overridden in a derived class, gets or sets the value of the particular member.(Inherited from PSMemberInfo.)

NameDescription
System_CAPS_pubmethodCopy()

When overridden in a derived class, creates an exact copy of the current PSMemberInfo object.(Inherited from PSMemberInfo.)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodSetMemberName(String)

Sets the name of the extended member. This method is introduced in Windows PowerShell 2.0.(Inherited from PSMemberInfo.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

These properties are part of the extended type system (ETS) that is used to provide uniform access to base objects by extending PSObject objects.

Although it is possible to derive from this class, there is no established scenario for doing this and any attempt to do so might result in unexpected behavior.

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: