Synthesis of o-carborane-functionalized metal-organic frameworks through ligand exchanges for aggregation-induced emission in the solid state.