共用方式為


PackageManager.GetApplicationLabelFormatted(ApplicationInfo) 方法

定義

傳回要用於此應用程式的標籤。

[Android.Runtime.Register("getApplicationLabel", "(Landroid/content/pm/ApplicationInfo;)Ljava/lang/CharSequence;", "GetGetApplicationLabel_Landroid_content_pm_ApplicationInfo_Handler")]
public abstract Java.Lang.ICharSequence GetApplicationLabelFormatted (Android.Content.PM.ApplicationInfo info);
[<Android.Runtime.Register("getApplicationLabel", "(Landroid/content/pm/ApplicationInfo;)Ljava/lang/CharSequence;", "GetGetApplicationLabel_Landroid_content_pm_ApplicationInfo_Handler")>]
abstract member GetApplicationLabelFormatted : Android.Content.PM.ApplicationInfo -> Java.Lang.ICharSequence

參數

info
ApplicationInfo

ApplicationInfo要取得標籤的應用程式 。

傳回

CharSequence 回 ,其中包含與此應用程式相關聯的標籤,或專案沒有標籤的名稱。

屬性

備註

傳回要用於此應用程式的標籤。

android.content.pm.PackageManager.getApplicationLabel(android.content.pm.ApplicationInfo)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於