PSVariableProperty Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Represents an extended variable property of a PSObject object. This class is introduced in Windows PowerShell 2.0.

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


public class PSVariableProperty : PSNoteProperty

NameDescription
System_CAPS_pubmethodPSVariableProperty(PSVariable)

Initializes a new instance of the PSVariableProperty class with the name of the variable. This constructor is introduced by Windows PowerShell 2.0.

NameDescription
System_CAPS_pubpropertyIsGettable

Gets a value that indicates whether the value of the property can be retrieved. This property is introduced in Windows PowerShell 2.0.(Overrides PSNoteProperty.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 value that indicates whether the value of the property can be set. This property is introduced in Windows PowerShell 2.0.(Overrides PSNoteProperty.IsSettable.)

System_CAPS_pubpropertyMemberType

Gets the member type that this object represents. This property is introduced in Windows PowerShell 2.0.(Overrides PSNoteProperty.MemberType.)

System_CAPS_pubpropertyName

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

System_CAPS_pubpropertyTypeNameOfValue

Gets the full name of the .NET Framework type of the referenced property value. This property is introduced in Windows PowerShell 2.0.(Overrides PSNoteProperty.TypeNameOfValue.)

System_CAPS_pubpropertyValue

Gets or sets the value of the variable property. This property is introduced in Windows PowerShell 2.0.(Overrides PSNoteProperty.Value.)

NameDescription
System_CAPS_pubmethodCopy()

Makes a copy of the current PSVariableProperty object. This method is introduced in Windows PowerShell 2.0.(Overrides PSNoteProperty.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 PSVariableProperty object to a string. This method is introduced in Windows PowerShell 2.0.(Overrides PSNoteProperty.ToString().)

A variable property has a name/value pairing. For more information about variable 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

ADD
Show: