VCLinkerTool.LargeAddressAware 属性

定义

获取或设置一个允许处理大于 2 GB 的地址的值。

public:
 property Microsoft::VisualStudio::VCProjectEngine::addressAwarenessType LargeAddressAware { Microsoft::VisualStudio::VCProjectEngine::addressAwarenessType get(); void set(Microsoft::VisualStudio::VCProjectEngine::addressAwarenessType value); };
public:
 property Microsoft::VisualStudio::VCProjectEngine::addressAwarenessType LargeAddressAware { Microsoft::VisualStudio::VCProjectEngine::addressAwarenessType get(); void set(Microsoft::VisualStudio::VCProjectEngine::addressAwarenessType value); };
[System.Runtime.InteropServices.DispId(70)]
public Microsoft.VisualStudio.VCProjectEngine.addressAwarenessType LargeAddressAware { [System.Runtime.InteropServices.DispId(70)] get; [System.Runtime.InteropServices.DispId(70)] set; }
[<System.Runtime.InteropServices.DispId(70)>]
[<get: System.Runtime.InteropServices.DispId(70)>]
[<set: System.Runtime.InteropServices.DispId(70)>]
member this.LargeAddressAware : Microsoft.VisualStudio.VCProjectEngine.addressAwarenessType with get, set
Public Property LargeAddressAware As addressAwarenessType

属性值

addressAwarenessType

addressAwarenessType 枚举。

属性

示例

下面的示例在 LargeAddressAware 集成开发环境 (IDE) 中修改属性:

' add reference to Microsoft.VisualStudio.VCProjectEngine  
Imports EnvDTE  
Imports Microsoft.VisualStudio.VCProjectEngine  

Public Module Module1  
  Sub Test()  
    Dim prj As VCProject  
    Dim cfgs, tools As IVCCollection  
    Dim cfg As VCConfiguration  
    Dim tool As VCLinkerTool  
    prj = DTE.Solution.Projects.Item(1).Object  
    cfgs = prj.Configurations  
    cfg = cfgs.Item(1)  
    tool = cfg.Tools("VCLinkerTool")  
    tool.LargeAddressAware = addressAwarenessType.addrAwareNoLarge  
  End Sub  
End Module  

注解

LargeAddressAware 公开 /LARGEADDRESSAWARE (处理大型地址) 链接器选项的功能。

使用 addressAwarenessType 枚举设置此属性。

适用于