Language

JniType.IsAssignableFrom(JniType) Method

Definition

Determines whether values of another Java type can be assigned to this type.

public bool IsAssignableFrom(Java.Interop.JniType c);
member this.IsAssignableFrom : Java.Interop.JniType -> bool

Parameters

c
JniType

The Java type whose instances are to be tested for assignment to this type.

Returns

true if instances of c can be assigned to this Java 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.

Applies to