object.DefineProperties method example