Udostępnij za pośrednictwem


IJavaPeerable.SetJniIdentityHashCode(Int32) Method

Definition

Set the value returned by JniIdentityHashCode.

public void SetJniIdentityHashCode(int value);
abstract member SetJniIdentityHashCode : int -> unit

Parameters

value
Int32

A Int32 which contains the value that future invocations of the JniIdentityHashCode property should return.

Remarks

The SetJniIdentityHashCode method is invoked to alter the value returned by future access to the <seealso cref="P:Java.Interop.IJavaPeerable.JniIdentityHashCode"></seealso> property.

<block subset="none" type="usage"> This method should only be invoked by the JniRuntime instance which will be managing the IJavaPeerable value. </block>

Applies to

See also