Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

RecentFile Interface 

Represents a recently used file.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

'Usage
Public Class ecentFileImplementation
	Implements RecentFile
End Class
Dim ecentFileImplementation1 As New ecentFileImplementation()

public interface RecentFile
public interface RecentFile
public interface RecentFile

The RecentFile object is a member of the RecentFiles collection. The RecentFiles collection includes all the files that have been used recently. The items in the RecentFiles collection are displayed at the bottom of the File menu.

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.

Use the Add method to add a file to the RecentFiles collection.

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.


Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Community Additions

Show:
© 2014 Microsoft