问题描述
Office.Interop.Word.Range.InsertFile(...)方法访问的文件被添加到Word的JumpList中的Recent列表中。由于我们插入的文件是临时的并且被及时删除,我如何阻止它们被添加或之后删除它们?
到目前为止我在JumpLists上找到的所有东西向我展示了如何添加东西(很多东西),并且一个地方表示一旦它被提交到Windows,你就不会修改它。我在Shell32中看到的东西看起来可能是我的答案的重要部分,但我找不到足以确定如何获得它们所操作的目标。
Files accessed by the Office.Interop.Word.Range.InsertFile(...) method get added to the Recent list in Word's JumpList. Since the files we are inserting are temporary and promptly deleted, how do I either stop them from getting added or remove them afterward?
Everything I have found so far on JumpLists shows me how to add stuff (lots of stuff), and one place says you don't modify a JumpList once it has been Committed to Windows. I see things in Shell32 that look like they might be important parts of my answer, but I don't find enough to determine how to get the targets that they operate on.
这篇关于控制从加载项添加到Word的JumpList的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!