VCLinkerTool.FunctionOrder 属性

定义

获取或设置映像中按预先确定的顺序排列的 COMDAT(函数)。

public:
 property System::String ^ FunctionOrder { System::String ^ get(); void set(System::String ^ value); };
public:
 property Platform::String ^ FunctionOrder { Platform::String ^ get(); void set(Platform::String ^ value); };
[System.Runtime.InteropServices.DispId(83)]
public string FunctionOrder { [System.Runtime.InteropServices.DispId(83)] get; [System.Runtime.InteropServices.DispId(83)] set; }
[<System.Runtime.InteropServices.DispId(83)>]
[<get: System.Runtime.InteropServices.DispId(83)>]
[<set: System.Runtime.InteropServices.DispId(83)>]
member this.FunctionOrder : string with get, set
Public Property FunctionOrder As String

属性值

String

一个字符串,表示映像中按预先确定的顺序排列的 COMDAT(函数)。

属性

示例

下面的示例在 FunctionOrder 集成开发环境 (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.FunctionOrder = "c:\myfile.txt"  
  End Sub  
End Module  

注解

FunctionOrder 公开 /order (Put 函数按顺序) 链接器选项的功能。

适用于