Java.Lang.Class.GetResourceAsStream Method
Returns a read-only stream for the contents of the given resource, or null if the resource is not found.

Syntax

[Android.Runtime.Register("getResourceAsStream", "(Ljava/lang/String;)Ljava/io/InputStream;", "")]
public System.IO.Stream GetResourceAsStream (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 a read-only stream for the contents of the given resource, or null if the resource is not found. The mapping between the resource name and the stream 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