Forgotten Code word

I’m pretty sure there’s a way to get a property from a class in a rowtag but I can’t find the code in my old projects.

Dim s As string = _________(listbox1.rowtag(0)).myString

I know I can go
Dim t As myClass = listbox1.rowtag(0)
s = t.myString

but I’m pretty sure there’s something close to the fill in the blank example above.

TIA

Dim s As string = myClass(listbox1.rowtag(0)).myString

It’s called casting. You tell the compiler that the variant stored in the RowTag is of the class myClass.

Thanks, that’s why I couldn’t find it in my old projects … I wasn’t searching for myClass I was searching ‘cast’ and ‘type’ and and and …