SetNames function

Set the Names in an Object