RecentFiles Interface
A collection of RecentFile objects that represents the files that have been used recently. The items in the RecentFiles collection are displayed at the bottom of the File menu.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)
Usage
Public Class ecentFilesImplementation
Implements RecentFiles
End Class
Dim ecentFilesImplementation1 As New ecentFilesImplementation()
Syntax
Public Interface RecentFiles
Inherits IEnumerable
public interface RecentFiles : IEnumerable
public interface class RecentFiles : public IEnumerable
public interface RecentFiles implements IEnumerable
public interface RecentFiles implements IEnumerable
Remarks
Use the RecentFiles property to return the RecentFiles collection.
Use the Add method to add a file to the RecentFiles collection.
Use RecentFiles(index), where index is the index number, to return a single RecentFile object. The index number represents the position of the file on the File menu.
The SaveAs and Open methods include an AddToRecentFiles argument that controls whether or not a file is added to the recently-used-files list when the file is opened or saved.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
Microsoft.Office.Interop.Word Namespace