JniType.IsInstanceOfType(JniObjectReference) 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.
Tests whether a referenced Java object can be assigned to this type.
public bool IsInstanceOfType(Java.Interop.JniObjectReference value);
member this.IsInstanceOfType : Java.Interop.JniObjectReference -> bool
Parameters
- value
- JniObjectReference
The nonzero JNI object reference to test. Invalid references are rejected by the generated JNI helper.
Returns
true if the Java object is compatible with this type; otherwise, false.
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.