ObjectQuery.IListSource.ContainsListCollection 属性

定义

获取一个值,该值指示查询返回的集合是否包含集合对象。Gets a value that indicates whether the collection returned by the query contains collection objects.

property bool System::ComponentModel::IListSource::ContainsListCollection { bool get(); };
bool System.ComponentModel.IListSource.ContainsListCollection { get; }
 ReadOnly Property ContainsListCollection As Boolean Implements IListSource.ContainsListCollection

属性值

一个布尔值。A Boolean value.

实现

注解

此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 ObjectQuery<T> 实例被强制转换为 IListSource 接口时使用。It can be used only when the ObjectQuery<T> instance is cast to an IListSource interface.

此属性始终返回false , 因为查询返回的集合包含对象而不是集合。This property always returns false because the collection returned by the query contains objects and not collections.

适用于