如何将这种COM类型编组为C#?

时间:2018-10-08 17:19:27

标签: c# com com-interop

我有一个COM对象(IUnknown ** ppunkObject),该对象将通过以下方法返回。如何将该对象编组为C#代码?

PROFILE MATCH (t:token) WHERE t.text="switch" RETURN t.text

------------------------
NodeIndexSeek
251,679 db hits
---------------
Projection
251,678 db hits
--------------
ProduceResults
251,678 db hits 
---------------

与C ++形式相同:

public int GetObject (System.Runtime.InteropServices.ComTypes.IMoniker pmkObjectName, 
                      out object ppunkObject);

0 个答案:

没有答案