次の方法で共有


Resources.GetResourceEntryName(Int32) Method

Definition

Return the entry name for a given resource identifier.

[Android.Runtime.Register("getResourceEntryName", "(I)Ljava/lang/String;", "GetGetResourceEntryName_IHandler")]
public virtual string? GetResourceEntryName (int resid);
[<Android.Runtime.Register("getResourceEntryName", "(I)Ljava/lang/String;", "GetGetResourceEntryName_IHandler")>]
abstract member GetResourceEntryName : int -> string
override this.GetResourceEntryName : int -> string

Parameters

resid
Int32

The resource identifier whose entry name is to be retrieved.

Returns

A string holding the entry name of the resource.

Attributes

Exceptions

Throws NotFoundException if the given ID does not exist.

Remarks

Return the entry name for a given resource identifier.

Java documentation for android.content.res.Resources.getResourceEntryName(int).

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