JniRuntime.CreationOptions.JniAddNativeMethodRegistrationAttributePresent 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 or sets whether reflection registration scans for methods marked with JniAddNativeMethodRegistrationAttribute.
public bool JniAddNativeMethodRegistrationAttributePresent { get; set; }
member this.JniAddNativeMethodRegistrationAttributePresent : bool with get, set
Property Value
true to enable the attribute scan; otherwise, false. The default is true.
Remarks
Disabling this scan does not disable a generated registration method that the type manager finds by its known name.