AndroidJNI.SetStringField 设置字符串域


static function SetStringField (obj : IntPtr, fieldID : IntPtr, val : string) : void

Description描述

This function sets the value of an instance (nonstatic) field of an object.

这个函数设置一个对象实例(非静态)域的值。

This is a convenience function that calls   SetObjectField() with the same parameters, but performs the necessary   marshalling of the string value.

这是一个方便的函数,调用带有相同参数的SetObjectField(),但执行字符串的值需要编组。

参见:AndroidJNI.SetObjectField


,