On Sep 27, 2013, at 12:33 PM, Samus Arin <samusa...@gmail.com> wrote:
> Using JNI/JNIEnv, is it possible to execute the second statement (.class 
> operator) ?

The `.class` operator is equivalent to the C# `typeof` operator. Depending on 
what you need to do with it, you can either use typeof(T) directly, or you can 
go through typeof() + Java.Lang.Class.FromType():

        var paramTypes = new Java.Lang.Class[]{
                Java.Lang.Class.FromType(typeof(Java.Lang.String)),
        };

 - Jon

_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to