You can do this by using a struct. Simply create your enumerator and make it the first field in your struct…
Like so: