LanguagePrimitives.GetEnumerable(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.
Retrieves the IEnumerable of obj or null if the language does not consider obj to be IEnumerable.
public:
static System::Collections::IEnumerable ^ GetEnumerable(System::Object ^ obj);
public static System.Collections.IEnumerable GetEnumerable (object obj);
static member GetEnumerable : obj -> System.Collections.IEnumerable
Public Shared Function GetEnumerable (obj As Object) As IEnumerable
Parameters
- obj
- Object
IEnumerable or IEnumerable-like object