共用方式為


ObjectQuery.IListSource.ContainsListCollection 屬性

定義

取得值,這個值表示查詢傳回的集合是否包含集合物件。

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

屬性值

布林值。

實作

備註

此成員為明確介面成員實作。 它只能在實 ObjectQuery<T> 例投射到 IListSource 介面時使用。

此特性總是回傳 false ,因為查詢回傳的集合包含物件而非集合。

適用於