LabeledIntent.LoadLabel(PackageManager) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieve the label associated with this object.
public string? LoadLabel(Android.Content.PM.PackageManager? pm);
member this.LoadLabel : Android.Content.PM.PackageManager -> string
Parameters
The package manager used to load a label resource when no literal label is stored.
Returns
The stored or loaded label as a string, or null when neither source provides a label.
Remarks
Retrieve the label associated with this object. If the object does not have a label, null will be returned, in which case you will probably want to load the label from the underlying resolved info for the Intent.
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.