ObjectQuery.IListSource.ContainsListCollection Property


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

Property Value


A Boolean value.



This member is an explicit interface member implementation. It can be used only when the ObjectQuery<T> instance is cast to an IListSource interface.

This property always returns false because the collection returned by the query contains objects and not collections.

Applies to