Język

JavaObject.JniIdentityHashCode Property

Definition

Gets the identity hash code stored for this Java peer.

public int JniIdentityHashCode { get; }
member this.JniIdentityHashCode : int

Property Value

The value last assigned to the peer, or zero before a value is assigned.

Implements

Remarks

The value is stored on the managed peer. Reading this property does not calculate a hash code, and invalidating the peer reference does not clear the stored value.

Java reference for java.lang.System.identityHashCode.

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