Language

JniRuntime.CreationOptions.ClassLoader_LoadClass_id Property

Definition

Caution

No longer supported; Class.forName() is now used instead

Gets or sets the class-loader method identifier, which is obsolete in .NET 10 and .NET 11 for Android.

[System.Obsolete("No longer supported; Class.forName() is now used instead")]
public IntPtr ClassLoader_LoadClass_id { get; set; }
[<System.Obsolete("No longer supported; Class.forName() is now used instead")>]
member this.ClassLoader_LoadClass_id : nativeint with get, set

Property Value

IntPtr

nativeint

In .NET 9 for Android, a nonzero value supplies the class loader's loadClass method identifier. In .NET 10 and .NET 11 for Android, the base runtime constructor does not use this value. In .NET 11, class lookup uses JNI FindClass and can fall back to Class.forName.

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to