Java.Lang.ClassLoader.GetResources Method
Returns an enumeration of URLs for the resource with the specified name.

Syntax

[Android.Runtime.Register("getResources", "(Ljava/lang/String;)Ljava/util/Enumeration;", "GetGetResources_Ljava_lang_String_Handler")]
public virtual Java.Util.IEnumeration GetResources (string resName)

Parameters

resName
the name of the resource to find.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.IO.IOExceptionif an I/O error occurs.

Remarks

Returns an enumeration of URLs for the resource with the specified name. This implementation first uses this class loader's parent to find the resource, then it calls ClassLoader.FindResources(string) to get additional URLs. The returned enumeration contains the URL objects of both find operations.

[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