Partager via


DbMemberEntry.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 l'instance actuelle.

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

Syntaxe

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

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

Valeur de retour

Type : System.Type
Type exact de l'instance actuelle au moment de l'exécution.

Voir aussi

Référence

DbMemberEntry Classe

Espace de noms System.Data.Entity.Infrastructure