Share via


Extensions.GetGenericElementType(Type) Method

Definition

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.

Applies to