VCCLCompilerTool.DebugInformationFormat (Propiedad)

Obtiene o establece el tipo de información de depuración generada por el compilador.DebugInformationFormat expone la funcionalidad de las opciones de /Z7, /Zi, /ZI (Formato de la información de depuración) del compilador.

Espacio de nombres:  Microsoft.VisualStudio.VCProjectEngine
Ensamblado:  Microsoft.VisualStudio.VCProjectEngine (en Microsoft.VisualStudio.VCProjectEngine.dll)

Sintaxis

'Declaración
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)

Valor de propiedad

Tipo: Microsoft.VisualStudio.VCProjectEngine.debugOption
Enumeración debugOption.

Ejemplos

Vea Cómo: Compilar el código de ejemplo de extensibilidad del modelo de proyecto para obtener información sobre cómo compilar y ejecutar este ejemplo.

El ejemplo siguiente se modifica la propiedad de DebugInformationFormat en el entorno de desarrollo (IDE) integrado:

' 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

Seguridad de .NET Framework

Vea también

Referencia

VCCLCompilerTool Interfaz

Microsoft.VisualStudio.VCProjectEngine (Espacio de nombres)