共用方式為


ExtensionManager.InstantiateType<T, TProxy> 方法 (Type)

具現化型別,並將型別轉換為介面。

命名空間:  Microsoft.Data.Schema.Extensibility
組件:  Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)

語法

'宣告
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 不支援泛型型別或方法。

型別參數

  • T
  • TProxy

參數

傳回值

型別:T

.NET Framework 安全性

請參閱

參考

ExtensionManager 類別

InstantiateType 多載

Microsoft.Data.Schema.Extensibility 命名空間