Condividi tramite


Proprietà ObjectQuery.IQueryable.ElementType

[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 il tipo di elemento del risultato per questa istanza della query.

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

Sintassi

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

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

Valore proprietà

Tipo: System.Type

Implements

IQueryable.ElementType

Vedere anche

Riferimento

ObjectQuery Classe

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