Language

JniObjectReference.Equality(JniObjectReference, JniObjectReference) Operator

Definition

Determines whether two reference values have equal handles.

public static bool operator ==(Java.Interop.JniObjectReference lhs, Java.Interop.JniObjectReference rhs);
static member ( = ) : Java.Interop.JniObjectReference * Java.Interop.JniObjectReference -> bool

Parameters

lhs
JniObjectReference

The first reference value to compare.

rhs
JniObjectReference

The second reference value to compare.

Returns

true if the handles match, regardless of reference 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