LanguagePrimitives.GetEnumerable(Object) Method

Definition

Retrieves the IEnumerable of obj or null if the language does not consider obj to be IEnumerable.

C++
public:
 static System::Collections::IEnumerable ^ GetEnumerable(System::Object ^ obj);

Parameters

obj
Object

IEnumerable or IEnumerable-like object

Returns

Applies to

Producto Versiones
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0