JavaException.JniIdentityHashCode Property
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.
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.
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.