MdoProjectEvents ObjectRenamed Method

See Also

The Repository Add-in invokes this method when the name 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 ObjectRenamed( MdoObject As Object, VBObject As Object, OldName As String )

The ObjectRenamed method has these parts:

Part Description
MdoObject The MDO project object that has been renamed in the repository.
VBObject The corresponding Visual Basic project.
OldName The name that the MDO project object had before it was renamed.

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 file name is changed, the ObjectChangedFileName method is invoked, not this method.