Mesomeric betaines are dipolar heterocyclic compounds in which both the negative and the positive charges are delocalized.
Examples are mesoionic compounds , heteropentalenes (e.g. diazapentalenes). Heteropentalenes are not mesoionic
References
Mesomeric betaine Wikipedia(Text) CC BY-SA