AL.TargetType 属性

定义

获取或设置输出文件的文件格式:library(代码库)、exe(控制台应用程序)或 win(基于 Windows 的应用程序)。Gets or sets the file format of the output file: library (code library), exe (console application), or win (Windows-based application).

此 API 支持产品基础结构,不能在代码中直接使用。

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

属性值

String

输出文件的文件格式: (代码库) 、 exe (控制台应用程序) 或 win (基于 Windows 的应用程序) 。The file format of the output file: library (code library), exe (console application), or win (Windows-based application).

注解

默认为 libraryThe default is library. 此属性对应于 /t[arget] Al.exe (程序集链接器) 中的选项。This property corresponds to the /t[arget] option in Al.exe (Assembly Linker).

适用于