MdoControlEvents ObjectRenamed Method

See Also

The Repository Add-in invokes this method when the name of an MdoControl object has been changed in the repository. The method is invoked for each event sink object that has been registered for control-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 control object that has been renamed in the repository.
VBObject The corresponding Visual Basic control.
OldName The name that this object had before it was renamed.