Compartir a través de


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

Properties

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.

Methods

AddFile(String)

Adds a file to the current filter.

AddFilter(String)

Adds a new filter to the current group of filters.

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)

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

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)

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.

Move(Object)

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(Object)

Removes a file from the current filter.

RemoveFilter(Object)

Removes a filter from the current project.

Applies to