VCCLCompilerTool.FullIncludePath 属性

定义

获取生成中包含的所有目录的列表;使用/I 指定的目录和在 " VC + + 目录 " 对话框中指定的目录的串联。 并会对这些目录中的宏执行计算。

public:
 property System::String ^ FullIncludePath { System::String ^ get(); };
public:
 property Platform::String ^ FullIncludePath { Platform::String ^ get(); };
[System.Runtime.InteropServices.DispId(222)]
public string FullIncludePath { [System.Runtime.InteropServices.DispId(222)] get; }
[<System.Runtime.InteropServices.DispId(222)>]
[<get: System.Runtime.InteropServices.DispId(222)>]
member this.FullIncludePath : string
Public ReadOnly Property FullIncludePath As String

属性值

String

生成中包含的所有目录的列表。

属性

示例

有关如何编译和运行此示例的信息,请参阅 如何:编译项目模型扩展性的示例代码

下面的示例在 FullIncludePath 集成开发环境中获取编译器属性 (IDE) :

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

Public Module Module1  
    Sub Test()  
        Dim prj As VCProject  
        Dim cfgs As IVCCollection  
        Dim cfg As VCConfiguration  
        Dim tool As VCCLCompilerTool  
        Dim ret As String  
        prj = DTE.Solution.Projects.Item(1).Object  
        cfgs = prj.Configurations  
        cfg = cfgs.Item(1)  
        tool = cfg.Tools("VCCLCompilerTool")  
        ret = tool.FullIncludePath  
    End Sub  
End Module  

适用于