RecentFiles.Add Method

Returns a RecentFile object that represents a file added to the list of recently used files.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

RecentFile Add(
	ref Object Document,
	ref Object ReadOnly
)

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.

Community Additions

ADD
Show:
© 2014 Microsoft