JniPeerMembers.JniInstanceFields.GetObjectValue(String, IJavaPeerable) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Reads a Java object-reference instance field.
public Java.Interop.JniObjectReference GetObjectValue(string encodedMember, Java.Interop.IJavaPeerable self);
member this.GetObjectValue : string * Java.Interop.IJavaPeerable -> Java.Interop.JniObjectReference
Parameters
- encodedMember
- String
The Java field name and JNI descriptor separated by a period, such as value.I.
- self
- IJavaPeerable
The managed peer whose Java instance field is accessed.
Returns
A local JNI reference to the field value, or an invalid reference for Java null.
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.