PSReference Constructor (Object)

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Creates a new PSReference object.

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

public PSReference(
	object value
)

Parameters

value
Type: System.Object

The value of the reference. See the "Remarks" section for more information.

If the reference is a value, the value parameter holds the value being referenced. If the reference is a variable, the value parameter holds a PSVariable object that describes the variable.

Return to top

Community Additions

ADD
Show: