To be able to respond to reference-related Repository Add-in (RepVB) events, you must supply an MdoReferenceEvents event sink object that implements the following methods:
Method | Description |
ObjectAdded | Invoked when an MdoTypeLib or MdoProjRef object has been added to the repository. |
ObjectRemoved | Invoked when an MdoTypeLib or MdoProjRef object has been removed from the repository. |
To begin receiving events, register your MdoReferenceEvents event sink object with the ConnectReferenceEvents Repository Add-in method.