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; }
member this.System.ComponentModel.IListSource.ContainsListCollection : bool
 ReadOnly Property ContainsListCollection As Boolean Implements IListSource.ContainsListCollection

屬性值

Boolean

布林值。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.

適用於