ScriptPropertyData Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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