Share via


PackageItemInfo.LoadLabel(PackageManager) Method

Definition

Retrieve the current textual label associated with this item.

public string LoadLabel (Android.Content.PM.PackageManager pm);
member this.LoadLabel : Android.Content.PM.PackageManager -> string

Parameters

pm
PackageManager

A PackageManager from which the label can be loaded; usually the PackageManager from which you originally retrieved this item.

Returns

Returns a CharSequence containing the item's label. If the item does not have a label, its name is returned.

Remarks

Retrieve the current textual label associated with this item. This will call back on the given PackageManager to load the label from the application.

Java documentation for android.content.pm.PackageItemInfo.loadLabel(android.content.pm.PackageManager).

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