VCMidlTool.IgnoreStandardIncludePath Eigenschaft

Definition

Ruft einen Wert ab, der angibt, ob der Standardincludepfad ignoriert werden soll.

public:
 property bool IgnoreStandardIncludePath { bool get(); void set(bool value); };
public:
 property bool IgnoreStandardIncludePath { bool get(); void set(bool value); };
[System.Runtime.InteropServices.DispId(4)]
public bool IgnoreStandardIncludePath { [System.Runtime.InteropServices.DispId(4)] get; [System.Runtime.InteropServices.DispId(4)] set; }
[<System.Runtime.InteropServices.DispId(4)>]
[<get: System.Runtime.InteropServices.DispId(4)>]
[<set: System.Runtime.InteropServices.DispId(4)>]
member this.IgnoreStandardIncludePath : bool with get, set
Public Property IgnoreStandardIncludePath As Boolean

Eigenschaftswert

Boolean

true, wenn der Standardincludepfad ignoriert wird, andernfalls false.

Attribute

Beispiele

Weitere Informationen zum Kompilieren und Ausführen dieses Beispiels finden Sie unter Gewusst wie: Kompilieren von Beispiel Code für die Erweiterbarkeit von Projekt Modellen .

Im folgenden Beispiel wird die-Eigenschaft des Ressourcen Compilers IgnoreStandardIncludePath in der integrierten Entwicklungsumgebung (Integrated Development Environment, IDE) geändert:

[Visual Basic]

' 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 VCCLCompilerTool  
        prj = DTE.Solution.Projects.Item(1).Object  
        cfgs = prj.Configurations  
        cfg = cfgs.Item(1)  
        tool = cfg.Tools("VCResourceCompilerTool")  
        tool.GlobalOptimization = True  
        tool.IgnoreStandardIncludePath = True  
    End Sub  
End Module  

Hinweise

IgnoreStandardIncludePath macht die Funktionalität der Compileroption /X (Standard mäßige Includepfade ignorieren) , der mittleren l- Eigenschafts Seiten des compl-Compilers und der Eigenschaften Seiten -Option des Ressourcen Compilers verfügbar.

Gilt für