Close doc

//CLOSING THE FILE

oWordDoc.Close(ref oFalse, ref oMissing, ref oMissing);

//QUITTING THE APPLICATION

oWord.Quit(ref oMissing, ref oMissing, ref oMissing);

原文地址:https://www.cnblogs.com/greencolor/p/1642679.html