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.

ScriptPropertyData Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Represents a script property definition. This class cannot be inherited. Introduced in Windows PowerShell 3.0.

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

System.Object
  System.Management.Automation.Runspaces.TypeMemberData
    System.Management.Automation.Runspaces.ScriptPropertyData

Public NotInheritable Class ScriptPropertyData
	Inherits TypeMemberData

NameDescription
System_CAPS_pubmethodScriptPropertyData(String, ScriptBlock)

Initializes a new instance of the ScriptPropertyData class that represents a read-only property. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodScriptPropertyData(String, ScriptBlock, ScriptBlock)

Initializes a new instance of the ScriptPropertyData class that represents a read-write property. Introduced in Windows PowerShell 3.0.

NameDescription
System_CAPS_pubpropertyGetScriptBlock

Gets or sets the script block for the getter method of a script property. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyIsHidden

Gets or sets a value that indicates whether the script property is hidden. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyName

Gets the name of the member. Introduced in Windows PowerShell 3.0.(Inherited from TypeMemberData.)

System_CAPS_pubpropertySetScriptBlock

Gets or sets the script block for the setter method of a script property. Introduced in Windows PowerShell 3.0.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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: