Compartir a través de


ExtensionManager.InstantiateType<T, TProxy> (Método) (Type)

Crea instancias de un tipo y les da la función de interfaz.

Espacio de nombres:  Microsoft.Data.Schema.Extensibility
Ensamblado:  Microsoft.Data.Schema (en Microsoft.Data.Schema.dll)

Sintaxis

'Declaración
Public Shared Function InstantiateType(Of T As Class, TProxy As {Object, T, IExtensionProxy(Of T)}) ( _
    type As Type _
) As T
public static T InstantiateType<T, TProxy>(
    Type type
)
where T : class
where TProxy : Object, T, IExtensionProxy<T>
public:
generic<typename T, typename TProxy>
where T : ref class
where TProxy : Object, T, IExtensionProxy<T>
static T InstantiateType(
    Type^ type
)
static member InstantiateType : 
        type:Type -> 'T  when 'T : not struct when 'TProxy : Object and 'T and IExtensionProxy<'T>
JScript no admite el uso de métodos ni tipos genéricos.

Parámetros de tipo

  • T
  • TProxy

Parámetros

Valor devuelto

Tipo: T

Seguridad de .NET Framework

Vea también

Referencia

ExtensionManager Clase

InstantiateType (Sobrecarga)

Microsoft.Data.Schema.Extensibility (Espacio de nombres)