Export (0) Print
Expand All
Expand Minimize

BrowseInformation Property

Visual Studio .NET 2003

Specifies the level of browse information in the .bsc file. Exposes the functionality of the compiler's /Fr and /FR options.

[Visual Basic .NET]
Public Property BrowseInformation() As browseInfoOption
[Visual Basic 6]
Property Get BrowseInformation() As browseInfoOption
Property Let BrowseInformation( _
   ByVal NewValue As browseInfoOption _
HRESULT __stdcall get_BrowseInformation(
   /* [out, retval] */ browseInfoOption* retVal
HRESULT __stdcall put_BrowseInformation(
   /* [in] */ browseInfoOption NewValue
public browseInfoOption BrowseInformation {get; set;}
[JScript .NET]
public function get BrowseInformation() : browseInfoOption
public function set BrowseInformation(
   NewValue : browseInfoOption


Use the browseInfoOption enumeration to change the value of this property.


The following sample code modifies the BrowseInformation property in the development environment:

' 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

See Samples for Project Model Extensibility for information on how to compile and run this sample.

See Also

Applies To: VCCLCompilerTool Object

© 2014 Microsoft