共用方式為


IClassFactory.CreateInstance(Guid, Object) Method

Definition

public:
 void CreateInstance(Guid % riid, [Runtime::InteropServices::Out] System::Object ^ % ppvObject);
public void CreateInstance (ref Guid riid, out object ppvObject);
abstract member CreateInstance : Guid * obj -> unit
Public Sub CreateInstance (ByRef riid As Guid, ByRef ppvObject As Object)

Parameters

riid
Guid
ppvObject
Object

Applies to