VCFilter Interface

 

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

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

[GuidAttribute("3EEA69D5-3A07-426F-8969-0A9FFC45A1FC")]
public interface VCFilter : VCProjectItem

NameDescription
System_CAPS_pubpropertyCanonicalName

Gets the unique name used for this filter.

System_CAPS_pubpropertyFiles

Gets the collection of files associated with the filter.

System_CAPS_pubpropertyFilter

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

System_CAPS_pubpropertyFilters

Gets the collection of filters for the filter.

System_CAPS_pubpropertyItemName

Gets the name of the current item in the collection.

System_CAPS_pubpropertyItems

Gets the collection of filters associated with the project.

System_CAPS_pubpropertyKind

Returns an enumeration indicating the type of filter.

System_CAPS_pubpropertyName

Gets or sets the name of the filter.

System_CAPS_pubpropertyObject

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

System_CAPS_pubpropertyParent

Returns the immediate parent object of a given object.

System_CAPS_pubpropertyParseFiles

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

System_CAPS_pubpropertyproject

Gets the VCProject associated with the filter.

System_CAPS_pubpropertySourceControlFiles

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

System_CAPS_pubpropertyUniqueIdentifier

Specifies a nonlocalizable name for the filter.

System_CAPS_pubpropertyUrlBehavior

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.

System_CAPS_pubpropertyVCProjectEngine

Gets a pointer to the project engine.

System_CAPS_pubpropertyWebReference

Gets the URL of the Web reference for the filter.

NameDescription
System_CAPS_pubmethodAddFile(String)

Adds a file to the current filter.

System_CAPS_pubmethodAddFilter(String)

Adds a new filter to the current group of filters.

System_CAPS_pubmethodAddWebReference(String, String)

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.

System_CAPS_pubmethodCanAddFile(String)

Returns true if the specified file can be added to the current filter.

System_CAPS_pubmethodCanAddFilter(String)

Returns true if the specified filter can be added as a top-level filter or as a subfilter to the current filter.

System_CAPS_pubmethodCanMove(Object)

Returns true if the filter can be moved to the specified location.

System_CAPS_pubmethodMatchName(String, Boolean)

Matches a specified name to the name of a collection item.

System_CAPS_pubmethodMove(Object)

Moves a file or folder into the top level of the project or a new folder.

System_CAPS_pubmethodRemove()

Removes the specified filter from the project.

System_CAPS_pubmethodRemoveFile(Object)

Removes a file from the current filter.

System_CAPS_pubmethodRemoveFilter(Object)

Removes a filter from the current project.

Return to top
Show: