編輯

共用方式為


RecentFiles Interface

Definition

Represents the list of recently used files. Each file is represented by a RecentFile object.

public interface class RecentFiles : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("00024406-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface RecentFiles : System.Collections.IEnumerable
Public Interface RecentFiles
Implements IEnumerable
Attributes
Implements

Remarks

Use the RecentFiles property to return the RecentFiles collection.

Properties

_Default[Int32]

Reserved for internal use.

Application

Returns an Application object that represents the Microsoft Excel application.

Count

Returns the number of objects in the collection.

Creator

Returns a 32-bit integer that indicates the application in which this object was created.

Item[Int32]

Returns a single object from a collection.

Maximum

Returns or sets the maximum number of files in the list of recently used files. Can be a value from 0 (zero) through 9.

Parent

Returns the parent object for the specified object.

Methods

Add(String)

Adds a file to the list of recently used files. Returns a RecentFile object.

GetEnumerator()

Applies to