I'm trying to dynamically determine the type of elements stored within
an object of MONO_TYPE_ARRAY, is there anyway to do this?
-Sterling
--
"The three most dangerous things in the world are a programmer
with a soldering iron, a hardware type with a program patch and
a user with an idea."
On 02/02/03 Sterling Hughes wrote:
> I'm trying to dynamically determine the type of elements stored within
> an object of MONO_TYPE_ARRAY, is there anyway to do this?
MonoClass *elem_class = mono_object_class (array_object)->element_class;
The same code works for vectors, too (MONO_TYPE_SZARRAY)