AL.BaseAddress 属性

定义

获取或设置一个地址,运行时将在用户计算机上的此地址加载 DLL。Gets or sets the address at which a DLL will be loaded on the user's computer at run time.

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

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

属性值

String

在运行时将在用户计算机上的其上加载 DLL 的地址。The address at which a DLL will be loaded on the user's computer at run time.

注解

如果指定 DLL 的基址,而不是让操作系统在进程空间内重新定位 DLL,则应用程序的加载速度会更快。Applications load faster if you specify the base address of the DLLs, rather than letting the operating system relocate the DLLs in the process space. 此属性对应于 Al.exe (程序集链接器) 中的/base [address] 选项。This property corresponds to the /base[address] option in Al.exe (Assembly Linker).

适用于