IFactoryService.CreateInstance<T> メソッド (, array< )

指定された完全な名前に基づいてオブジェクトをインスタンス化します。

名前空間:  Microsoft.SqlServer.Management
アセンブリ:  Microsoft.SqlServer.Management.SDK.SqlStudio (Microsoft.SqlServer.Management.SDK.SqlStudio.dll)

構文

'宣言

Function CreateInstance(Of T) ( _
    fullName As , _
    ParamArray arguments As () _
) As T
'使用

Dim instance As IFactoryService
Dim fullName As 
Dim arguments As ()
Dim returnValue As T

returnValue = instance.CreateInstance(fullName, _
    arguments)
T CreateInstance<T>(
     fullName,
    params [] arguments
)
generic<typename T>
T CreateInstance(
    ^ fullName, 
    ... array<^>^ arguments
)
abstract CreateInstance : 
        fullName: * 
        arguments:[] -> 'T 
JScript は汎用の型およびメソッドをサポートしていません。

型パラメーター

  • T

パラメーター

  • fullName
    型:
    型の完全な名前です。
  • arguments
    型: array<[]
    オブジェクトで使用される引数です。

戻り値

型: T
指定された完全な名前に基づいてオブジェクトを表す新しいオブジェクトです。

関連項目

参照

IFactoryService インターフェイス

CreateInstance オーバーロード

Microsoft.SqlServer.Management 名前空間