Partager via


Project Object

Instantiated when a project is created or opened, providing programmatic access to project properties and methods.

Project

Remarks

A project object is instantiated when you issue CREATE PROJECT, MODIFY PROJECT, BUILD APP, BUILD DLL, BUILD EXE, BUILD MTDLL, or BUILD PROJECT.

Note that the project object and its properties and methods are not available in the ProjectHook object Init event. Project object property values you set or methods you invoke in the ProjectHook object Init event are ignored.

Note that a project object is a COM object, so assigning a project object reference to a memory variable creates a memory variable of class "Unknown Type."

For more information about projects, see Project Manager Hooks.

See Also

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