"最近使用的文档和QUOT;在.NET API? [英] "Recent documents" API in .NET?
问题描述
有关我的文档为基础的应用程序,我想拥有的最近使用的文档名单,许多人做的。我很高兴通过写入设置文件或任何手动实现这个自己,但不知道是否有一个组件在.NET框架,这样做对我来说。
For my document-based application I want to have a list of "Recent Documents", as many others do. I'm happy to implement this myself manually by writing to a settings file or whatever, but was wondering if there's a component in the .NET framework that will do this for me.
好像很多开发者都需要一个共同的功能,我不想写code .NET提供。我使用的是.NET 3.5,WPF的用户界面。
Seems like a common function that many developers would need, and I don't want to write code that .NET provides. I'm using .NET 3.5 with WPF for the UI.
推荐答案
据我所知,在.NET框架中不包含这样的功能。
As far as I know, the .NET framework doesn't contain such a feature.
不过,而不是从头开始实现它自己,你可能需要使用专用的Windows API:
However, rather than implementing it yourself from scratch, you might want to use the dedicated Windows API :
- AddMRUStringW
- CreateMRUListW
- EnumMRUListW
- FreeMRUList
这篇关于"最近使用的文档和QUOT;在.NET API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!