共用方式為


Projects Collection

A collection of project objects.

Projects

Remarks

A projects collection provides access to project objects, making it possible for you to manipulate a project and files and servers within the project.

Items in projects collection can be referenced by index number or by name. For example, the following code rebuilds the most recently opened project:

_VFP.Projects(1).Build( )

The following code rebuilds the project named MyProject:

_VFP.Projects('MyProject.pjx').Build( )

For more information about the projects collection, see Project Manager Hooks.

See Also

Projects Collection Properties, Methods and Events | File Object | Files Collection | Project Object | ProjectHook Object | Server Object | Servers Collection

Applies To: _VFP System Variable