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)

'Usage
Dim instance As New PSObject

public 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

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft