MdoComponentEvents ObjectChangedFileName Method

See Also

The Repository Add-in invokes this method when the FileName property of an MDO component object has been changed in the repository. The method is invoked for each event sink object that has been registered for component-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 component object whose corresponding Visual Basic component file has been renamed.
VBObject The corresponding Visual Basic component.
OldFileName The old file name for the Visual Basic component file.

Remarks

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