Partager via


ObjectQuery.IQueryable.ElementType, propriété

[Cette page concerne Entity Framework version 6. La dernière version est disponible sous le nom de package 'Entity Framework' NuGet. Pour plus d'informations sur Entity Framework, consultez msdn.com/data/ef.]

Obtient le type d'élément de résultat pour cette instance de requête.

Espace de noms :  System.Data.Entity.Core.Objects
Assembly :  EntityFramework (dans EntityFramework.dll)

Syntaxe

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

Valeur de propriété

Type : System.Type

Implémentations

IQueryable.ElementType

Voir aussi

Référence

ObjectQuery Classe

Espace de noms System.Data.Entity.Core.Objects