Database.GetType (Método)

[Esta página es específica de la versión 6 de Entity Framework. La versión más reciente está disponible como el paquete NuGet de Entity Framework. Para más información sobre Entity Framework, consulte msdn.com/es-ES/data/ef].

Obtiene el Type de la instancia actual.

Espacio de nombres:  System.Data.Entity
Ensamblado:  EntityFramework (en EntityFramework.dll)

Sintaxis

'Declaración
<SuppressMessageAttribute("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")> _
<EditorBrowsableAttribute(EditorBrowsableState.Never)> _
Public Function GetType As Type
'Uso
Dim instance As Database 
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

Valor devuelto

Tipo: System.Type
Tipo en tiempo de ejecución exacto de la instancia actual.

Vea también

Referencia

Database Clase

System.Data.Entity (Espacio de nombres)