Visual Studio .NET 2003
Occurs just before a file is added to a project.
PROCEDURE Object.QueryAddFile LPARAMETERS cFileName
- Contains the name of the file to add to the project. cFileName is passed to the QueryAddFile event after the Add method is executed, you choose Add in the Project Manager, or you choose Add File from the Project menu.
Include NODEFAULT in the QueryAddFile event to prevent a file from being added to the project.
Applies To: ProjectHook Object