LanguagePrimitives.GetPSDataCollection(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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