PSObject Constructor ()

Initializes a new instance of the PSObject class that contains a base object of type PSCustomObject.

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

Dim instance As New PSObject

PSObject ()
public PSObject ()
public function PSObject ()

A base object of type PSCustomObject tells the Windows PowerShell runtime that the encapsulating PSObject object has no meaningful base object. However, this type of encapsulating PSObject object does provide a type name property bag that cmdlet developers can add extended members to. Developers can also specify the type name of the object, which allows this object to share its extended members with other PSObject objects of the same type name.


Target Platforms

© 2014 Microsoft