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
'Декларация
<GuidAttribute("CC65DE59-52AB-4360-BB2E-8305ED9BA151")> _
Public Interface VCFilter _
Inherits VCProjectItem
[GuidAttribute("CC65DE59-52AB-4360-BB2E-8305ED9BA151")]
public interface VCFilter : VCProjectItem
[GuidAttribute(L"CC65DE59-52AB-4360-BB2E-8305ED9BA151")]
public interface class VCFilter : VCProjectItem
[<GuidAttribute("CC65DE59-52AB-4360-BB2E-8305ED9BA151")>]
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. | |
ItemName | Gets the name of the current item in the collection. (Inherited from VCProjectItem.) | |
Items | Gets the collection of filters associated with the project. | |
Kind | Returns an enumeration indicating the type of filter. | |
Kind | Gets an enumeration indicating the type of object. (Inherited from VCProjectItem.) | |
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. | |
Parent | Gets the immediate parent object of a given object. (Inherited from VCProjectItem.) | |
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. | |
project | Gets the VCProject associated with the object. (Inherited from VCProjectItem.) | |
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. | |
VCProjectEngine | Gets a pointer to the project engine. (Inherited from VCProjectItem.) | |
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(String, Boolean) | Matches a specified name to the name of a collection item. | |
MatchName(String, Boolean) | Matches a specified name to the name of a collection item. (Inherited from VCProjectItem.) | |
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