How to traverse all particle attribute and control particles in Niagara?[C++]

I control particle emission through C++,But I dont know how to destroy a particle.Can I get the particle attributes being simulated?Then traverse them, modify them and pass them to Niagara? Or…Other ways to control the elimination of particles