Share via


ProjectHookClass Property

The default ProjectHook class for a project.

Object.ProjectHookClass[ = cClassName]

Property Values

  • cClassName
    Specifies the default ProjectHook class for a project. Before you can specify a ProjectHook class for a project, specify the .vcx visual class library containing the ProjectHook class with the ProjectHookLibrary property.

    To delete the default ProjectHook class for a project, set the ProjectHookClass or ProjectHookLibrary property to the empty string.

Remarks

You can also specify the default ProjectHook class for a project in the Project tab of the Project Information dialog box.

Changing the ProjectHookClass property doesn't instantiate the new ProjectHook object. The change takes effect the next time the project is opened. To change the current ProjectHook object, use the ProjectHook property.

For more information about projects, see Project Manager Hooks.

See Also

ProjectHook Object | ProjectHook Property | ProjectHookLibrary Property

Applies To: Project Object