Java.Lang.ClassLoader.GetResource Method
Returns the URL of the resource with the specified name.

Syntax

[Android.Runtime.Register("getResource", "(Ljava/lang/String;)Ljava/net/URL;", "GetGetResource_Ljava_lang_String_Handler")]
public virtual Java.Net.URL GetResource (string resName)

See Also

Class.GetResource(string)

Parameters

resName
the name of the resource to find.

Returns

Documentation for this section has not yet been entered.

Remarks

Returns the URL of the resource with the specified name. This implementation first tries to use the parent class loader to find the resource; if this fails then ClassLoader.FindResource(string) is called to find the requested resource.

[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