RecentFiles.Add Method
Office 2010
Returns a RecentFile object that represents a file added to the list of recently used files.
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Parameters
- Document
- Type: System.Object%
Required Object. The document you want to add to the list of recently used files. You can specify this argument by using either the string name for the document or a Document object.
- ReadOnly
- Type: System.Object%
Optional Object. True to make the document read-only.