VCCLCompilerTool.DebugInformationFormat Propriedade
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Obtém ou define o tipo de informações de depuração geradas pelo compilador. DebugInformationFormat expõe a funcionalidade das opções /Z7,/Zi,/Zi (debug Information Format) do compilador.
public:
property Microsoft::VisualStudio::VCProjectEngine::debugOption DebugInformationFormat { Microsoft::VisualStudio::VCProjectEngine::debugOption get(); void set(Microsoft::VisualStudio::VCProjectEngine::debugOption value); };
public:
property Microsoft::VisualStudio::VCProjectEngine::debugOption DebugInformationFormat { Microsoft::VisualStudio::VCProjectEngine::debugOption get(); void set(Microsoft::VisualStudio::VCProjectEngine::debugOption value); };
[System.Runtime.InteropServices.DispId(12)]
public Microsoft.VisualStudio.VCProjectEngine.debugOption DebugInformationFormat { [System.Runtime.InteropServices.DispId(12)] get; [System.Runtime.InteropServices.DispId(12)] set; }
[<System.Runtime.InteropServices.DispId(12)>]
[<get: System.Runtime.InteropServices.DispId(12)>]
[<set: System.Runtime.InteropServices.DispId(12)>]
member this.DebugInformationFormat : Microsoft.VisualStudio.VCProjectEngine.debugOption with get, set
Public Property DebugInformationFormat As debugOption
Valor da propriedade
Uma enumeração debugOption.
- Atributos
Exemplos
Consulte como compilar código de exemplo para extensibilidade de modelo de projeto para obter informações sobre como compilar e executar este exemplo.
O exemplo a seguir modifica a DebugInformationFormat propriedade no ambiente de desenvolvimento integrado (IDE):
' 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