Java.Lang.ClassLoader.LoadClass Method
Loads the class with the specified name.

Syntax

[Android.Runtime.Register("loadClass", "(Ljava/lang/String;)Ljava/lang/Class;", "GetLoadClass_Ljava_lang_String_Handler")]
public virtual Class LoadClass (string className)

Parameters

className
the name of the class to look for.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.ClassNotFoundExceptionif the class can not be found.

Remarks

Loads the class with the specified name. Invoking this method is equivalent to calling loadClass(className, false).

Note: In the Android reference implementation, the second parameter of ClassLoader.LoadClass(string, System.Boolean) is ignored anyway.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1