共用方式為


ContextWrapper.PackageName Property

Definition

Return the name of this application's package.

public override string? PackageName { [Android.Runtime.Register("getPackageName", "()Ljava/lang/String;", "GetGetPackageNameHandler")] get; }
[<get: Android.Runtime.Register("getPackageName", "()Ljava/lang/String;", "GetGetPackageNameHandler")>]
member this.PackageName : string

Property Value

Attributes

Remarks

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