Java.Lang.Class.GetResource Method
Returns the URL of the given resource, or null if the resource is not found.

Syntax

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

See Also

ClassLoader

Parameters

resourceName
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Returns the URL of the given resource, or null if the resource is not found. The mapping between the resource name and the URL is managed by the class' class loader.

[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