我遇到了下面给出的代码
Object oMissing = System.Reflection.Missing.Value
oDataDoc = wrdApp.Documents.Open(ref oName, ref oMissing,
ref oMissing, ref oMissing, ref oMissing, ref oMissing,
ref oMissing, ref oMissing, ref oMissing, ref oMissing,
ref oMissing, ref oMissing, ref oMissing, ref oMissing,
ref oMissing);
我不明白 ref oMissing 将会做什么。它是否会自动获取值或类似的操作?
COM
的东西,而COM
的东西总是不太容易读懂的。 - King KingSystem.Reflection.Missing.Value
值:https://support.microsoft.com/kb/301659?wa=wsignin1.0 - Joey Adams