An MDO component object is a repository object that implements the IMdoComponent interface. MDO Model classes that implement this interface are:
To be able to respond to component-related Repository Add-in (RepVB) events, you must supply an MdoComponentEvents event sink object that implements the following methods:
| Method | Description | 
| ObjectAdded | Invoked when an MDO component object has been added to the repository. | 
| ObjectChangedFileName | Invoked when the file associated with a Visual Basic component has been renamed. | 
| ObjectRemoved | Invoked when an MDO component object has been removed from the repository. | 
| ObjectRenamed | Invoked when an MDO component object has been renamed in the repository. | 
| ObjectSynchronized | Invoked when an MDO component object has been synchronized with the corresponding Visual Basic component. | 
To begin receiving events, register your MdoComponentEvents event sink object with the ConnectComponentEvents Repository Add-in method.