Aracılığıyla paylaş


VCCLCompilerTool.DebugInformationFormat Özellik

Alır veya derleyici tarafından oluşturulan hata ayıklama bilgi türünü ayarlar.DebugInformationFormatDerleyici 's iþlevselliði / Z7, /Zi, /ZI (hata ayıklama bilgileri biçimi) seçenekleri.

Ad alanı:  Microsoft.VisualStudio.VCProjectEngine
Derleme:  Microsoft.VisualStudio.VCProjectEngine (Microsoft.VisualStudio.VCProjectEngine.dll içinde)

Sözdizimi

'Bildirim
Property DebugInformationFormat As debugOption
debugOption DebugInformationFormat { get; set; }
property debugOption DebugInformationFormat {
    debugOption get ();
    void set (debugOption value);
}
abstract DebugInformationFormat : debugOption with get, set
function get DebugInformationFormat () : debugOption
function set DebugInformationFormat (value : debugOption)

Özellik Değeri

Tür: Microsoft.VisualStudio.VCProjectEngine.debugOption
A debugOption numaralandırma.

Örnekler

Bkz: Nasıl yapılır: proje modeli genişletilebilirlik amacıyla örnek kodu derleyin derlemek ve bu örnek çalıştırma hakkında bilgi için.

Aşağıdaki örnek değiştirir DebugInformationFormat tümleşik geliştirme ortamını (IDE) özelliği:

' 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.DebugInformationFormat = debugOption.debugEnabled
    End Sub
End Module

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

VCCLCompilerTool Arabirim

Microsoft.VisualStudio.VCProjectEngine Ad Alanı