语言

Extensions.IsICollection(Type) 方法

定义

类型实现了 ICollection。

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

参数

type
Type

输入以确认。

返回

如果实现了 ICollection,那是真的。

适用于