Class.GetResource(String) Class.GetResource(String) Method

Definition

Returns the URL of the given resource, or null if the resource is not found.

[Android.Runtime.Register("getResource", "(Ljava/lang/String;)Ljava/net/URL;", "")]
public Java.Net.URL GetResource (string name);
member this.GetResource : string -> Java.Net.URL

Parameters

name
String String

Returns

Remarks

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.

Applies to

See also