Sdílet prostřednictvím


ExtensionManager.InstantiateType<T, TProxy> – metoda (Type)

Typ konkretizuje a vrhá jako rozhraní.

Obor názvů:  Microsoft.Data.Schema.Extensibility
Sestavení:  Microsoft.Data.Schema (v Microsoft.Data.Schema.dll)

Syntaxe

'Deklarace
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>
Jazyk JScript nepodporuje obecné typy a metody.

Parametry typu

  • T
  • TProxy

Parametry

Vrácená hodnota

Typ: T

Zabezpečení rozhraní .NET Framework

Viz také

Odkaz

ExtensionManager Třída

InstantiateType – přetížení

Microsoft.Data.Schema.Extensibility – obor názvů