Export (0) Print
Expand All
Expand Minimize

ParseFiles Property

Visual Studio .NET 2003

Specifies whether the files in a folder will be open to inspection by IntelliSense.

[Visual Basic .NET]
Public Property ParseFiles() As Boolean
[Visual Basic 6]
Property Get ParseFiles() As Boolean
Property Let ParseFiles( _
   ByVal NewValue As Boolean _
) 
[C++]
HRESULT __stdcall get_ParseFiles(
   /* [out, retval] */ VARIANT_BOOL* retVal
);
HRESULT __stdcall put_ParseFiles(
   /* [in] */ VARIANT_BOOL NewValue
);
[C#]
public bool ParseFiles {get; set;}
[JScript .NET]
public function get ParseFiles() : Boolean
public function set ParseFiles(
   NewValue : Boolean
)

Remarks

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

Example

The following sample code uses ParseFiles in the development environment:

' 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

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

See Also

Applies To: VCFilter Object

Show:
© 2014 Microsoft