// public float this[string fname] { get { // X:\jsc.svn\examples\javascript\chrome\apps\ChromeFlashlightTracker\ChromeFlashlightTracker\Application.cs var fields_GetType = env.GetObjectClass(env, fields); var fref = env.GetFieldID(env, fields_GetType, fname, "F"); var value = env.GetFloatField(env, fields, fref); return(value); } set { var fields_GetType = env.GetObjectClass(env, fields); var fref = env.GetFieldID(env, fields_GetType, fname, "F"); env.SetFloatField(env, fields, fref, value); } }