Resources.GetResourceTypeName(Int32) Resources.GetResourceTypeName(Int32) Method

Definition

Return the type name for a given resource identifier.

[Android.Runtime.Register("getResourceTypeName", "(I)Ljava/lang/String;", "GetGetResourceTypeName_IHandler")]
public virtual string GetResourceTypeName (int resid);
abstract member GetResourceTypeName : int -> string
override this.GetResourceTypeName : int -> string

Parameters

resid
Int32 Int32

The resource identifier whose type name is to be retrieved.

Returns

Exceptions

Throws NotFoundException if the given ID does not exist.

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