Partager via


RecentFiles Members (Word)

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.

Methods

Name

Description

Add

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

Item

Returns an individual RecentFile object in a collection.

Properties

Name

Description

Application

Returns an Application object that represents the Microsoft Word application.

Count

Returns a Long that represents the number of recent files in the collection. Read-only.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.

Maximum

Returns or sets the maximum number of recently used files that can appear on the File menu. Can be a number from 0 (zero) through 9. Read/write Long.

Parent

Returns an Object that represents the parent object of the specified RecentFiles object.