Language

JniPeerMembers.JniInstanceFields.GetInt16Value(String, IJavaPeerable) Method

Definition

Reads a Java short instance field.

public short GetInt16Value(string encodedMember, Java.Interop.IJavaPeerable self);
member this.GetInt16Value : string * Java.Interop.IJavaPeerable -> int16

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

The field value as short.

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.

Applies to