VCLinkerTool.FixedBaseAddress 属性

定义

获取或设置一个值,该值指示是否必须在固定地址加载映像。

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

属性值

linkFixedBaseAddress

一个 linkFixedBaseAddress 值。

属性

示例

' Add a reference to Microsoft.VisualStudio.VCProjectEngine and have a   
' Visual C++ project loaded before running this example.  
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")  
        MsgBox("Fixed base address: " & tool.FixedBaseAddress.ToString)  
    End Sub  
End Module  

注解

FixedBaseAddress 公开 /FIXED (固定基址) 链接器选项的功能。

适用于