Share via


VCCLCompilerTool.BrowseInformation (Propiedad)

Especifica el nivel información de examen en el archivo .bsc. BrowseInformation expone la funcionalidad de las opciones /FR, /Fr (Crear archivo .Sbr) del compilador.

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

Sintaxis

'Declaración
Property BrowseInformation As browseInfoOption
browseInfoOption BrowseInformation { get; set; }
property browseInfoOption BrowseInformation {
    browseInfoOption get ();
    void set (browseInfoOption value);
}
abstract BrowseInformation : browseInfoOption with get, set
function get BrowseInformation () : browseInfoOption 
function set BrowseInformation (value : browseInfoOption)

Valor de propiedad

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

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.

En el ejemplo siguiente se modifica la propiedad BrowseInformation en el entorno de desarrollo 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.BrowseInformation = browseInfoOption.brNoLocalSymbols
        tool.BrowseInformationFile = "test.bsc"
    End Sub
End Module

Seguridad de .NET Framework

Vea también

Referencia

VCCLCompilerTool Interfaz

Microsoft.VisualStudio.VCProjectEngine (Espacio de nombres)