Taal

JniObjectReferenceOptions Enum

Definition

Controls reference copying, source disposal, and managed peer registration.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum JniObjectReferenceOptions
[<System.Flags>]
type JniObjectReferenceOptions = 
Inheritance
JniObjectReferenceOptions
Attributes

Fields

Name Value Description
None 0

Leaves the source reference undisposed and permits deferred initialization of a peer that has no reference.

Copy 1

Copies the reference for the managed peer without disposing the source reference.

CopyAndDispose 3

Copies the reference for the managed peer, then disposes the source reference.

CopyAndDoNotRegister 5

Copies the reference without disposing the source or adding the new peer to the runtime's peer mapping.

Applies to