Occurs just before a file is modified in a project.
PROCEDURE Object.QueryModifyFile LPARAMETERS oFile, cClassName
- Contains an object reference to the file to modify. oFile is passed to the QueryModifyFile event after the Modify method is executed, you choose Modify in the Project Manager, or you choose Modify File from the Project menu.
- Contains the name of the class to modify if the file is a .vcx visual class library.
Applies To: ProjectHook Object
Include NODEFAULT in the QueryModifyFile event to prevent a file from being modified in the project.