语言

Extensions.IsIEnumerable(Type) 方法

定义

类型实现IEnumerable。

public static bool IsIEnumerable(this Type type);
static member IsIEnumerable : Type -> bool
<Extension()>
Public Function IsIEnumerable (type As Type) As Boolean

参数

type
Type

输入以确认。

返回

如果实现了IEnumerable,那就成立。

适用于