publicobjectGetOrCreateObjectForComInstance(IntPtr externalComObject, System.Runtime.InteropServices.CreateObjectFlags flags); 参数 externalComObject IntPtr 要导入便于在 .NET 运行时中使用的对象。 flags CreateObjectFlags 用于描述外