JniRuntime.CreationOptions.UseMarshalMemberBuilder 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.
Caution
JniMarshalMemberBuilder is no longer supported. This property will be removed in a future release.
Gets or sets the marshal-member-builder switch, which is obsolete in .NET 11 for Android.
[System.Obsolete("JniMarshalMemberBuilder is no longer supported. This property will be removed in a future release.")]
public bool UseMarshalMemberBuilder { get; set; }
[<System.Obsolete("JniMarshalMemberBuilder is no longer supported. This property will be removed in a future release.")>]
member this.UseMarshalMemberBuilder : bool with get, set
Property Value
In .NET 9 and .NET 10 for Android, the flag controls builder initialization and defaults to true. In .NET 11 for Android, the base runtime constructor does not use this flag.
- Attributes
Remarks
In .NET 9 and .NET 10 for Android, the runtime's MarshalMemberBuilder getter returns the initialized builder or throws NotSupportedException if none is available. In .NET 11 for Android, the getter always throws NotSupportedException.