Hi,

I guess this is rather simple but I don't know how to do it.
I'm calling a method that returns a reference, and I want to cast that
reference so I can use the member variables.
In c++ I would do like this.

Datatype* myDatatype;
myDataType = (Datatype*) GetReference(...)
myDataType->memberData....

Is this possible in VB?