VCFilter Methods

Include Protected Members
Include Inherited Members

The VCFilter type exposes the following members.

Methods

  Name Description
Public method AddFile Adds a file to the current filter.
Public method AddFilter Adds a new filter to the current group of filters.
Public method AddWebReference Adds a reference to a Web service to the filter. A new Web service reference subfolder is added to the Web References folder of the project. This new folder contains several other project items related to the Web service. The method returns the ProjectItem object associated with the new Web service folder.
Public method CanAddFile Returns true if the specified file can be added to the current filter.
Public method CanAddFilter Returns true if the specified filter can be added as a top-level filter or as a subfilter to the current filter.
Public method CanMove Returns true if the filter can be moved to the specified location.
Public method MatchName(String, Boolean) Matches a specified name to the name of a collection item.
Public method MatchName(String, Boolean) Matches a specified name to the name of a collection item. (Inherited from VCProjectItem.)
Public method Move Moves a file or folder into the top level of the project or a new folder.
Public method Remove Removes the specified filter from the project.
Public method RemoveFile Removes a file from the current filter.
Public method RemoveFilter Removes a filter from the current project.

Top

See Also

Reference

VCFilter Interface

Microsoft.VisualStudio.VCProjectEngine Namespace