VCCLCompilerTool.OmitFramePointers Eigenschaft

Definition

Ruft einen Wert ab, der angibt, ob Framezeiger unterdrückt werden sollen, oder legt diesen fest. OmitFramePointers macht die Funktionalität der/Oy-Option (Frame Zeiger Auslassung) des Compilers verfügbar.

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

Eigenschaftswert

Boolean

true, wenn Framezeiger unterdrückt werden, 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- OmitFramePointers Eigenschaft in der integrierten Entwicklungsumgebung (Integrated Development Environment, IDE) geändert:

' 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("VCCLCompilerTool")  
        tool.OmitFramePointers = True  
    End Sub  
End Module  

Gilt für: