PSObject PSObject PSObject PSObject PSObject PSObject Constructors

Definition

Overloads

PSObject() PSObject() PSObject() PSObject() PSObject()

Initializes a new instance of PSObject with an PSCustomObject BaseObject

PSObject(Int32) PSObject(Int32) PSObject(Int32)
PSObject(Object) PSObject(Object) PSObject(Object) PSObject(Object) PSObject(Object) PSObject(Object)

Initializes a new instance of PSObject wrapping obj (accessible through BaseObject).

PSObject(SerializationInfo, StreamingContext) PSObject(SerializationInfo, StreamingContext) PSObject(SerializationInfo, StreamingContext) PSObject(SerializationInfo, StreamingContext)

Creates a PSObject from an ISerializable context

PSObject() PSObject() PSObject() PSObject() PSObject()

Initializes a new instance of PSObject with an PSCustomObject BaseObject

public:
 PSObject();
public:
 PSObject();
 PSObject();
public PSObject ();
Public Sub New ()

PSObject(Int32) PSObject(Int32) PSObject(Int32)

public PSObject (int instanceMemberCapacity);
new System.Management.Automation.PSObject : int -> System.Management.Automation.PSObject
Public Sub New (instanceMemberCapacity As Integer)

Parameters

instanceMemberCapacity
Int32 Int32 Int32 Int32 Int32 Int32

PSObject(Object) PSObject(Object) PSObject(Object) PSObject(Object) PSObject(Object) PSObject(Object)

Initializes a new instance of PSObject wrapping obj (accessible through BaseObject).

public:
 PSObject(System::Object ^ obj);
public:
 PSObject(Platform::Object ^ obj);
 PSObject(winrt::Windows::Foundation::IInspectable const & obj);
public PSObject (object obj);
new System.Management.Automation.PSObject : obj -> System.Management.Automation.PSObject
Public Sub New (obj As Object)

Parameters

obj
Object Object Object Object Object Object

object we are wrapping

Exceptions

PSObject(SerializationInfo, StreamingContext) PSObject(SerializationInfo, StreamingContext) PSObject(SerializationInfo, StreamingContext) PSObject(SerializationInfo, StreamingContext)

Creates a PSObject from an ISerializable context

protected:
 PSObject(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected PSObject (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Management.Automation.PSObject : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Management.Automation.PSObject
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

Applies to