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
- type
Tipo: System.Type
Un objeto Type que no es una extensión.
Valor devuelto
Tipo: T
Seguridad de .NET Framework
- Plena confianza para el llamador inmediato. Un código de confianza parcial no puede utilizar este miembro. Para obtener más información, vea Utilizar bibliotecas de código que no es de plena confianza.