PSVariableProperty(PSVariable) Constructor
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.
Initializes a new instance of the PSVariableProperty class. This is a subclass of the NoteProperty that wraps a variable instead of a simple value.
public:
PSVariableProperty(System::Management::Automation::PSVariable ^ variable);
public PSVariableProperty (System.Management.Automation.PSVariable variable);
new System.Management.Automation.PSVariableProperty : System.Management.Automation.PSVariable -> System.Management.Automation.PSVariableProperty
Public Sub New (variable As PSVariable)
Parameters
- variable
- PSVariable
The variable to wrap.
Exceptions
For an empty or null name.