Share via


LanguagePrimitives.GetPSDataCollection(Object) Method

Definition

This method takes a an arbitrary object and wraps it in a PSDataCollection of PSObject. This simplifies interacting with the PowerShell workflow activities.

public:
 static System::Management::Automation::PSDataCollection<System::Management::Automation::PSObject ^> ^ GetPSDataCollection(System::Object ^ inputValue);
public static System.Management.Automation.PSDataCollection<System.Management.Automation.PSObject> GetPSDataCollection (object inputValue);
static member GetPSDataCollection : obj -> System.Management.Automation.PSDataCollection<System.Management.Automation.PSObject>
Public Shared Function GetPSDataCollection (inputValue As Object) As PSDataCollection(Of PSObject)

Parameters

inputValue
Object

Returns

Applies to