How to get a list of particles

How to get a list of particles from a particle system? Like the particle emitter has a option named .particles.

The setup:

#pragma strict
 
var ps : ParticleSystem;
var particles : ParticleSystem.Particle[];
 
function Start() {
    ps = particleSystem;
    particles = new ParticleSystem.Particle[ps.maxParticles];
}

Then to get the particles:

var count = ps.GetParticles(particles);