Windows desktop applications
Collapse the table of content
Expand the table of content
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.

PSProperty Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Serves as a base property for a Windows PowerShell property or an adapter property of a PSObject object.

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


Public Class PSProperty
	Inherits PSPropertyInfo

NameDescription
System_CAPS_pubpropertyIsGettable

Gets a Boolean value that indicates whether the value of the property can be retrieved.(Overrides PSPropertyInfo.IsGettable.)

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 property can be set.(Overrides PSPropertyInfo.IsSettable.)

System_CAPS_pubpropertyMemberType

Gets the ETS type of the property as defined by Windows PowerShell.(Overrides PSMemberInfo.MemberType.)

System_CAPS_pubpropertyName

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

System_CAPS_pubpropertyTypeNameOfValue

Gets the fully qualified .NET Framework type name of the property value.(Overrides PSMemberInfo.TypeNameOfValue.)

System_CAPS_pubpropertyValue

Gets and sets the value of the property.(Overrides PSMemberInfo.Value.)

NameDescription
System_CAPS_pubmethodCopy()

Makes an exact copy of the current PSProperty object.(Overrides PSMemberInfo.Copy().)

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()

Converts the current PSProperty object to a string.(Overrides Object.ToString().)

A Windows PowerShell property is a property that is defined on the base object and an adapter property is a property that is made available through an adapter. For more information about these properties in addition to other property types defined by the extended type system (ETS), see ETS Properties [ps]. For more information about the extended type system (ETS), see Windows PowerShell Extended Type System (ETS) [ps].

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

Community Additions

Show:
© 2016 Microsoft