Share via


ScriptPropertyData Constructors

Definition

Overloads

ScriptPropertyData(String, ScriptBlock)

Initialize the ScriptPropertyData as a read only property.

ScriptPropertyData(String, ScriptBlock, ScriptBlock)

ScriptPropertyData constructor.

ScriptPropertyData(String, ScriptBlock)

Initialize the ScriptPropertyData as a read only property.

public:
 ScriptPropertyData(System::String ^ name, System::Management::Automation::ScriptBlock ^ getScriptBlock);
public ScriptPropertyData (string name, System.Management.Automation.ScriptBlock getScriptBlock);
new System.Management.Automation.Runspaces.ScriptPropertyData : string * System.Management.Automation.ScriptBlock -> System.Management.Automation.Runspaces.ScriptPropertyData
Public Sub New (name As String, getScriptBlock As ScriptBlock)

Parameters

name
String
getScriptBlock
ScriptBlock

Applies to

ScriptPropertyData(String, ScriptBlock, ScriptBlock)

ScriptPropertyData constructor.

public:
 ScriptPropertyData(System::String ^ name, System::Management::Automation::ScriptBlock ^ getScriptBlock, System::Management::Automation::ScriptBlock ^ setScriptBlock);
public ScriptPropertyData (string name, System.Management.Automation.ScriptBlock getScriptBlock, System.Management.Automation.ScriptBlock setScriptBlock);
new System.Management.Automation.Runspaces.ScriptPropertyData : string * System.Management.Automation.ScriptBlock * System.Management.Automation.ScriptBlock -> System.Management.Automation.Runspaces.ScriptPropertyData
Public Sub New (name As String, getScriptBlock As ScriptBlock, setScriptBlock As ScriptBlock)

Parameters

name
String
getScriptBlock
ScriptBlock
setScriptBlock
ScriptBlock

Applies to