VCFilter::ParseFiles Property

 

Gets or sets a value indicating whether the files in a filter are open to inspection by IntelliSense.

Namespace:   Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

property bool ParseFiles {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true if files are available to IntelliSense; otherwise, false.

By default, the files in any filter are open to inspection by IntelliSense.

See How to: Compile Example Code for Project Model Extensibility for information about how to compile and run this example.

The following example uses ParseFiles in the integrated development environment (IDE):

' Macro code.
' add reference to Microsoft.VisualStudio.VCProjectEngine
Imports EnvDTE
Imports Microsoft.VisualStudio.VCProjectEngine
Public Module Module1
    Sub Test()
        Dim idx As Integer
        Dim filter As VCFilter
        Dim col As IVCCollection
        Dim prj, prj2 As VCProject
        prj = DTE.Solution.Projects.Item(1).Object
        col = prj.Filters
        For idx = 1 To col.Count
            filter = col.Item(idx)
            ' filter.ParseFiles returns the value of the property
            filter.ParseFiles = False
        Next
    End Sub
End Module
Return to top
Show: