语言

Attributes.Name.MainClass 属性

定义

主类的名称(对于独立应用程序)。

[Android.Runtime.Register("MAIN_CLASS")]
public static Java.Util.Jar.Attributes.Name MainClass { get; }
[<Android.Runtime.Register("MAIN_CLASS")>]
static member MainClass : Java.Util.Jar.Attributes.Name

属性值

Attributes.Name用于启动在 JAR 文件中打包的应用程序的清单属性的对象Main-Class。

特性

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于