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)
Syntax
'Declaration
<GuidAttribute("3EEA69D5-3A07-426F-8969-0A9FFC45A1FC")> _
Public Interface VCFilter _
Inherits VCProjectItem
[GuidAttribute("3EEA69D5-3A07-426F-8969-0A9FFC45A1FC")]
public interface VCFilter : VCProjectItem
[GuidAttribute(L"3EEA69D5-3A07-426F-8969-0A9FFC45A1FC")]
public interface class VCFilter : VCProjectItem
[<GuidAttribute("3EEA69D5-3A07-426F-8969-0A9FFC45A1FC")>]
type VCFilter =
interface
interface VCProjectItem
end
public interface VCFilter extends VCProjectItem
The VCFilter type exposes the following members.
Properties
Name | Description | |
---|---|---|
CanonicalName | Gets the unique name used for this filter. | |
Files | Gets the collection of files associated with the filter. | |
Filter | Gets or sets a list of the file extensions associated with the filter. | |
Filters | Gets the collection of filters for the filter. | |
ItemName | Gets the name of the current item in the collection. | |
Items | Gets the collection of filters associated with the project. | |
Kind | Returns an enumeration indicating the type of filter. | |
Name | Gets or sets the name of the filter. | |
Object | Provides a reference between the Visual Studio object model and the Visual C++ object model. | |
Parent | Returns the immediate parent object of a given object. | |
ParseFiles | Gets or sets a value indicating whether the files in a filter are open to inspection by IntelliSense. | |
project | Gets the VCProject associated with the filter. | |
SourceControlFiles | Gets or sets a value indicating whether files added to the filter are automatically placed under source code control. | |
UniqueIdentifier | Specifies a nonlocalizable name for the filter. | |
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. | |
VCProjectEngine | Gets a pointer to the project engine. | |
WebReference | Gets the URL of the Web reference for the filter. |
Top
Methods
Name | Description | |
---|---|---|
AddFile | Adds a file to the current filter. | |
AddFilter | Adds a new filter to the current group of filters. | |
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. | |
CanAddFile | Returns true if the specified file can be added to the current filter. | |
CanAddFilter | Returns true if the specified filter can be added as a top-level filter or as a subfilter to the current filter. | |
CanMove | Returns true if the filter can be moved to the specified location. | |
MatchName | Matches a specified name to the name of a collection item. | |
Move | Moves a file or folder into the top level of the project or a new folder. | |
Remove | Removes the specified filter from the project. | |
RemoveFile | Removes a file from the current filter. | |
RemoveFilter | Removes a filter from the current project. |
Top