[Mono-list] array access
Paolo Molaro
lupus@ximian.com
Mon, 3 Feb 2003 11:07:04 +0100
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).
lupus
--
-----------------------------------------------------------------
lupus@debian.org debian/rules
lupus@ximian.com Monkeys do it better