Share via


ClassLoader.SystemClassLoader Property

Definition

Returns the system class loader.

public static Java.Lang.ClassLoader? SystemClassLoader { [Android.Runtime.Register("getSystemClassLoader", "()Ljava/lang/ClassLoader;", "")] get; }
[<get: Android.Runtime.Register("getSystemClassLoader", "()Ljava/lang/ClassLoader;", "")>]
static member SystemClassLoader : Java.Lang.ClassLoader

Property Value

The system ClassLoader

Attributes

Remarks

Returns the system class loader. This is the default delegation parent for new ClassLoader instances, and is typically the class loader used to start the application.

This method is first invoked early in the runtime's startup sequence, at which point it creates the system class loader. This class loader will be the context class loader for the main application thread (for example, the thread that invokes the main method of the main class).

The default system class loader is an implementation-dependent instance of this class.

Java documentation for java.lang.ClassLoader.getSystemClassLoader().

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