次の方法で共有


Activator.CreateComInstanceFrom メソッド

名前を指定した COM オブジェクトのインスタンスを作成します。

オーバーロードの一覧

名前付きアセンブリ ファイルと指定したパラメータに最も一致するコンストラクタを使用して、名前を指定した COM オブジェクトのインスタンスを作成します。

[Visual Basic] Overloads Public Shared Function CreateComInstanceFrom(String, String) As ObjectHandle

[C#] public static ObjectHandle CreateComInstanceFrom(string, string);

[C++] public: static ObjectHandle* CreateComInstanceFrom(String*, String*);

[JScript] public static function CreateComInstanceFrom(String, String) : ObjectHandle;

名前を指定したアセンブリ ファイルと、既定のコンストラクタを使用して、名前を指定した COM オブジェクトのインスタンスを作成します。

[Visual Basic] Overloads Public Shared Function CreateComInstanceFrom(String, String, Byte(), AssemblyHashAlgorithm) As ObjectHandle

[C#] public static ObjectHandle CreateComInstanceFrom(string, string, byte[], AssemblyHashAlgorithm);

[C++] public: static ObjectHandle* CreateComInstanceFrom(String*, String*, unsigned char __gc[], AssemblyHashAlgorithm);

[JScript] public static function CreateComInstanceFrom(String, String, Byte[], AssemblyHashAlgorithm) : ObjectHandle;

参照

Activator クラス | Activator メンバ | System 名前空間