Export (0) Print
Expand All

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)

public interface VCFilter extends VCProjectItem

The VCFilter type exposes the following members.

  NameDescription
Public propertyCanonicalNameGets the unique name used for this filter.
Public propertyFilesGets the collection of files associated with the filter.
Public propertyFilterGets or sets a list of the file extensions associated with the filter.
Public propertyFiltersGets the collection of filters for the filter.
Public propertyItemNameGets the name of the current item in the collection.
Public propertyItemsGets the collection of filters associated with the project.
Public propertyKindReturns an enumeration indicating the type of filter.
Public propertyNameGets or sets the name of the filter.
Public propertyObjectProvides a reference between the Visual Studio object model and the Visual C++ object model.
Public propertyParentReturns the immediate parent object of a given object.
Public propertyParseFilesGets or sets a value indicating whether the files in a filter are open to inspection by IntelliSense.
Public propertyprojectGets the VCProject associated with the filter.
Public propertySourceControlFilesGets or sets a value indicating whether files added to the filter are automatically placed under source code control.
Public propertyUniqueIdentifierSpecifies a nonlocalizable name for the filter.
Public propertyUrlBehaviorGets 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 propertyVCProjectEngineGets a pointer to the project engine.
Public propertyWebReferenceGets the URL of the Web reference for the filter.
Top

  NameDescription
Public methodAddFileAdds a file to the current filter.
Public methodAddFilterAdds a new filter to the current group of filters.
Public methodAddWebReferenceAdds 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 methodCanAddFileReturns true if the specified file can be added to the current filter.
Public methodCanAddFilterReturns true if the specified filter can be added as a top-level filter or as a subfilter to the current filter.
Public methodCanMoveReturns true if the filter can be moved to the specified location.
Public methodMatchNameMatches a specified name to the name of a collection item.
Public methodMoveMoves a file or folder into the top level of the project or a new folder.
Public methodRemoveRemoves the specified filter from the project.
Public methodRemoveFileRemoves a file from the current filter.
Public methodRemoveFilterRemoves a filter from the current project.
Top
Show:
© 2014 Microsoft