Export (0) Print
Expand All

PSObject Class

Encapsulates a base object of type Object or type PSCustomObject to allow for a consistent view of any object within the Windows PowerShell environment.


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

'Usage
Dim instance As PSObject

[SerializableAttribute] 
[TypeDescriptionProviderAttribute(typeof(PSObjectTypeDescriptionProvider))] 
public class PSObject : IFormattable, IComparable, ISerializable, 
	IDynamicMetaObjectProvider
/** @attribute SerializableAttribute() */ 
/** @attribute TypeDescriptionProviderAttribute(System.Management.Automation.PSObjectTypeDescriptionProvider) */ 
public class PSObject implements IFormattable, IComparable, 
	ISerializable, IDynamicMetaObjectProvider
SerializableAttribute 
TypeDescriptionProviderAttribute(System.Management.Automation.PSObjectTypeDescriptionProvider) 
public class PSObject implements IFormattable, IComparable, 
	ISerializable, IDynamicMetaObjectProvider

The PSObject object is the basis for access to all objects from the scripting language and provides an abstraction for the cmdlet developer.

It is permitted to derive from this class, but there is no established scenario for doing this.


System.Object
  System.Management.Automation.PSObject

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

 

Target Platforms

Windows Developer Preview, Windows Server Developer Preview

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