Share via


Proprietà ObjectQuery.IListSource.ContainsListCollection

[Questa pagina è specifica della versione 6 di Entity Framework. La versione più recente è disponibile come pacchetto NuGet per "Entity Framework". Per ulteriori informazioni su Entity Framework, vedere la pagina msdn.com/data/ef.]

Ottiene un valore che indica se la query contiene una raccolta di oggetti query.

Spazio dei nomi:  System.Data.Entity.Core.Objects
Assembly:  EntityFramework (in EntityFramework.dll)

Sintassi

'Dichiarazione
<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")> _
Private ReadOnly Property ContainsListCollection As Boolean 
    Implements IListSource.ContainsListCollection 
    Get
'Utilizzo
Dim instance As ObjectQuery 
Dim value As Boolean 

value = CType(instance, IListSource).ContainsListCollection
[SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
bool IListSource.ContainsListCollection { get; }
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
private:
virtual property bool ContainsListCollection {
    bool get () sealed = IListSource::ContainsListCollection::get;
}
[<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")>]
private abstract ContainsListCollection : bool
[<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")>]
private override ContainsListCollection : bool
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Valore proprietà

Tipo: System.Boolean
true se la query contiene una raccolta di oggetti query; in caso contrario, false.

Implements

IListSource.ContainsListCollection

Vedere anche

Riferimento

ObjectQuery Classe

Spazio dei nomi System.Data.Entity.Core.Objects