Share via


IJavaPeerable.SetPeerReference(JniObjectReference) Method

Definition

Set the value returned by PeerReference.

public void SetPeerReference(Java.Interop.JniObjectReference reference);
abstract member SetPeerReference : Java.Interop.JniObjectReference -> unit

Parameters

reference
JniObjectReference

A JniObjectReference which contains the value that future invocations of the PeerReference property should return.

Remarks

The SetPeerReference method is invoked to alter the value returned by future access to the <seealso cref="P:Java.Interop.IJavaPeerable.PeerReference"></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