Liquid XML Data Binder 2019
C++ AddEventListener - CXmlCollectionBase
Liquid XML Data Binder (C++, Java, VB6) > Reference > C++ > Reference > CAttributeCol > C++ AddEventListener - CXmlCollectionBase
void AddEventListener(CXmlObjectBase* pObj);
  Property Description  
    Method Name AddEventListener  
    Argument - pObj The class that will listen for the collections events.  
    Description The class specified will recieve the events sent from the collection when it changes  
    Remarks This mechanism allows the you to receive change events from the collection class, it is principally designed for internal use within the LtXmlLib, but can be used externally.
Care should be taken to ensure that RemoveEventListener is called before the class receiving the events is destroyed.