Android Guides | Samples

Android.Content.Res.Resources.GetResourceEntryName Method

Return the entry name for a given resource identifier.

Syntax

[Android.Runtime.Register("getResourceEntryName", "(I)Ljava/lang/String;", "GetGetResourceEntryName_IHandler")]
public virtual String GetResourceEntryName (Int32 resid)

See Also

Parameters

resid
The resource identifier whose entry name is to be retrieved.

Exceptions

TypeReason
!:NoType:android/content/res/Resources$NotFoundException;Href=../../../../reference/android/content/res/Resources.NotFoundException.htmlThrows NotFoundException if the given ID does not exist.

Remarks

Return the entry name for a given resource identifier.

[Android Documentation]

Requirements

Namespace: Android.Content.Res
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1