IHostEnvironment.ApplicationName 属性

定义

获取或设置应用程序的名称。Gets or sets the name of the application. 主机自动将此属性设置为包含应用程序入口点的程序集。This property is automatically set by the host to the assembly containing the application entry point.

public:
 property System::String ^ ApplicationName { System::String ^ get(); void set(System::String ^ value); };
public string ApplicationName { get; set; }
member this.ApplicationName : string with get, set
Public Property ApplicationName As String

属性值

String

适用于