URLClassLoader.FindResources(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an Enumeration of URLs representing all of the resources on the URL search path having the specified name.
[Android.Runtime.Register("findResources", "(Ljava/lang/String;)Ljava/util/Enumeration;", "GetFindResources_Ljava_lang_String_Handler")]
public virtual Java.Util.IEnumeration? FindResources (string? name);
[<Android.Runtime.Register("findResources", "(Ljava/lang/String;)Ljava/util/Enumeration;", "GetFindResources_Ljava_lang_String_Handler")>]
override this.FindResources : string -> Java.Util.IEnumeration
Parameters
- name
- String
the resource name
Returns
an Enumeration
of URL
s
If the loader is closed, the Enumeration will be empty.
- Attributes
Exceptions
if an I/O error occurs while attempting to connect.
Remarks
Returns an Enumeration of URLs representing all of the resources on the URL search path having the specified name.
Java documentation for java.net.URLClassLoader.findResources(java.lang.String)
.
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.