VCFilter VCFilter VCFilter VCFilter VCFilter VCFilter Interface

Definition

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

public interface class VCFilter : Microsoft::VisualStudio::VCProjectEngine::VCProjectItem
public interface class VCFilter : Microsoft::VisualStudio::VCProjectEngine::VCProjectItem
__interface VCFilter : Microsoft::VisualStudio::VCProjectEngine::VCProjectItem
[System.Runtime.InteropServices.Guid("719A2EDE-6E72-43EC-AB20-351E7C358F89")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDual | System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable)]
public interface VCFilter : Microsoft.VisualStudio.VCProjectEngine.VCProjectItem
type VCFilter = interface
    interface VCProjectItem
Public Interface VCFilter
Implements VCProjectItem
Attributes
Implements

Properties

CanonicalName CanonicalName CanonicalName CanonicalName CanonicalName CanonicalName

Gets the unique name used for this filter.

Files Files Files Files Files Files

Gets the collection of files associated with the filter.

Filter Filter Filter Filter Filter Filter

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

Filters Filters Filters Filters Filters Filters

Gets the collection of filters for the filter.

ItemName ItemName ItemName ItemName ItemName ItemName

Gets the name of the current item in the collection.

Items Items Items Items Items Items

Gets the collection of filters associated with the project.

Kind Kind Kind Kind Kind Kind

Returns an enumeration indicating the type of filter.

Name Name Name Name Name Name

Gets or sets the name of the filter.

Object Object Object Object Object Object

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

Parent Parent Parent Parent Parent Parent

Returns the immediate parent object of a given object.

ParseFiles ParseFiles ParseFiles ParseFiles ParseFiles ParseFiles

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

project project project project project project

Gets the VCProject associated with the filter.

SourceControlFiles SourceControlFiles SourceControlFiles SourceControlFiles SourceControlFiles SourceControlFiles

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

UniqueIdentifier UniqueIdentifier UniqueIdentifier UniqueIdentifier UniqueIdentifier UniqueIdentifier

Specifies a nonlocalizable name for the filter.

UrlBehavior UrlBehavior UrlBehavior UrlBehavior UrlBehavior 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 VCProjectEngine VCProjectEngine VCProjectEngine VCProjectEngine VCProjectEngine

Gets a pointer to the project engine.

WebReference WebReference WebReference WebReference WebReference WebReference

Gets the URL of the Web reference for the filter.

Methods

AddFile(String) AddFile(String) AddFile(String) AddFile(String) AddFile(String) AddFile(String)

Adds a file to the current filter.

AddFilter(String) AddFilter(String) AddFilter(String) AddFilter(String) AddFilter(String) AddFilter(String)

Adds a new filter to the current group of filters.

AddWebReference(String, String) AddWebReference(String, String) AddWebReference(String, String) AddWebReference(String, String) AddWebReference(String, String) AddWebReference(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.

CanAddFile(String) CanAddFile(String) CanAddFile(String) CanAddFile(String) CanAddFile(String) CanAddFile(String)

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

CanAddFilter(String) CanAddFilter(String) CanAddFilter(String) CanAddFilter(String) CanAddFilter(String) CanAddFilter(String)

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

CanMove(Object) CanMove(Object) CanMove(Object) CanMove(Object) CanMove(Object) CanMove(Object)

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

MatchName(String, Boolean) MatchName(String, Boolean) MatchName(String, Boolean) MatchName(String, Boolean) MatchName(String, Boolean) MatchName(String, Boolean)

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

Move(Object) Move(Object) Move(Object) Move(Object) Move(Object) Move(Object)

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

Remove() Remove() Remove() Remove() Remove() Remove()

Removes the specified filter from the project.

RemoveFile(Object) RemoveFile(Object) RemoveFile(Object) RemoveFile(Object) RemoveFile(Object) RemoveFile(Object)

Removes a file from the current filter.

RemoveFilter(Object) RemoveFilter(Object) RemoveFilter(Object) RemoveFilter(Object) RemoveFilter(Object) RemoveFilter(Object)

Removes a filter from the current project.

Applies to