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

-- 
-----------------------------------------------------------------
[EMAIL PROTECTED]                                     debian/rules
[EMAIL PROTECTED]                             Monkeys do it better
_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to