JniObjectReference.NewWeakGlobalRef Method
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.
Creates a weak global reference through the runtime's object reference manager.
public Java.Interop.JniObjectReference NewWeakGlobalRef();
member this.NewWeakGlobalRef : unit -> Java.Interop.JniObjectReference
Returns
A weak global reference to the same Java object, or an invalid reference for a zero handle.