DbSet.GetType, méthode

[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 de jeu actuel.

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

Syntaxe

'Déclaration
<SuppressMessageAttribute("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")> _
<EditorBrowsableAttribute(EditorBrowsableState.Never)> _
Public Function GetType As Type
'Utilisation
Dim instance As DbSet 
Dim returnValue As Type 

returnValue = instance.GetType()
[SuppressMessageAttribute("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")]
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public Type GetType()
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1024:UsePropertiesWhereAppropriate")]
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
public:
Type^ GetType()
[<SuppressMessageAttribute("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")>]
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
member GetType : unit -> Type
public function GetType() : Type

Valeur de retour

Type : System.Type
Type du jeu actuel.

Voir aussi

Référence

DbSet Classe

Espace de noms System.Data.Entity