DataTable.IListSource.ContainsListCollection 属性

定义

有关此成员的说明,请参见 ContainsListCollection

C#
bool System.ComponentModel.IListSource.ContainsListCollection { get; }

属性值

如果集合是 IList 对象集合,则为 true;否则,为 false

实现

注解

此成员是显式接口成员的实现。 它只能在 DataTable 实例被强制转换为 IListSource 接口时使用。

适用于

产品 版本
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1