This topic has not yet been rated - Rate this topic

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.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.