VCFilter Members

Include Protected Members
Include Inherited Members

A VCFilter object exposes the functionality on a folder in Solution Explorer for a Visual C++ project.

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

Overloaded.

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

Properties

 

Name

Description

Public property

CanonicalName

Gets the unique name used for this filter.

Public property

Files

Gets the collection of files associated with the filter.

Public property

Filter

Gets or sets a list of the file extensions associated with the filter.

Public property

Filters

Gets the collection of filters for the filter.

Public property

ItemName

Overloaded.

Public property

Items

Gets the collection of filters associated with the project.

Public property

Kind

Overloaded.

Public property

Name

Gets or sets the name of the filter.

Public property

Object

Provides a reference between the Visual Studio object model and the Visual C++ object model.

Public property

Parent

Overloaded.

Public property

ParseFiles

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

Public property

project

Overloaded.

Public property

SourceControlFiles

Gets or sets a value indicating whether files added to the filter are automatically placed under source code control.

Public property

UniqueIdentifier

Specifies a nonlocalizable name for the filter.

Public property

UrlBehavior

Gets a value indicating whether the URL of a Web reference is hard-coded in the generated Visual Basic or Visual C# proxy code. This property is meaningful only for filters that have Web references.

Public property

VCProjectEngine

Overloaded.

Public property

WebReference

Gets the URL of the Web reference for the filter.

Top

See Also

Reference

VCFilter Interface

Microsoft.VisualStudio.VCProjectEngine Namespace