MdoProjectEvents ObjectChangedFileName Method

See Also

The Repository Add-in invokes this method when the FileName property of an MdoProject object has been changed in the repository. The method is invoked for each event sink object that has been registered for project-related Repository Add-in events.

Syntax

Sub ObjectChangedFileName( MdoObject As Object, VBObject As Object, OldFileName As String )

The ObjectChangedFileName method has these parts:

Part Description
MdoObject The MDO project object whose corresponding Visual Basic project file has been renamed.
VBObject The corresponding Visual Basic project.
OldFileName The old file name for the Visual Basic project file.

Remarks

Do not confuse the name of an MDO project object with the name of the file that is associated with the corresponding Visual Basic project. If the object name is changed, the ObjectRenamed method is invoked, not this method.