Android.Content.Res.Resources.GetResourcePackageName Method
Return the package name for a given resource identifier.

Syntax

[Android.Runtime.Register("getResourcePackageName", "(I)Ljava/lang/String;", "GetGetResourcePackageName_IHandler")]
public virtual string GetResourcePackageName (int resid)

See Also

Resources.GetResourceName(int)

Parameters

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

Returns

Documentation for this section has not yet been entered.

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 package 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