Freigeben über


ObjectQuery.IQueryable.ElementType-Eigenschaft

[Diese Seite bezieht sich auf Entity Framework Version 6. Die neueste Version ist als 'Entity Framework' NuGet-Paket verfügbar. Weitere Informationen zu Entity Framework finden Sie unter msdn.com/data/ef.]

Ruft den Ergebniselementtyp für diese Abfrageinstanz ab.

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

Syntax

'Declaration
<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")> _
Private ReadOnly Property ElementType As Type 
    Implements IQueryable.ElementType 
    Get
'Usage
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.

Eigenschaftswert

Typ: System.Type

Implements

IQueryable.ElementType

Siehe auch

Verweis

ObjectQuery Klasse

System.Data.Entity.Core.Objects-Namespace