Extensions.GetGenericElementType(Type) 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.
Return the underlying type of generic IEnumerable.
public static Type GetGenericElementType (this Type type);
static member GetGenericElementType : Type -> Type
<Extension()>
Public Function GetGenericElementType (type As Type) As Type
Parameters
- type
- Type
Type to check.
Returns
True if implements generic IEnumerable.