How to properly set Vector Parameter Value?

i don’t know how i do this: Use (Mesh->SetMaterial). I´m having the same problem.