ObjectQuery.IListSource.ContainsListCollection Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets a value that indicates whether the collection returned by the query contains collection objects.

Namespace:   System.Data.Objects
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

bool IListSource.ContainsListCollection { get; }

Property Value

Type: System.Boolean

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.

.NET Framework
Available since 3.5
Return to top