Partager via


VCFilter.AddFilter Method

Adds a new filter to the current group of filters.

Namespace:  Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

Syntax

'Declaration
Function AddFilter ( _
    bstrName As String _
) As Object
Object AddFilter(
    string bstrName
)
Object^ AddFilter(
    String^ bstrName
)
abstract AddFilter : 
        bstrName:string -> Object
function AddFilter(
    bstrName : String
) : Object

Parameters

  • bstrName
    Type: System.String

    Required. The name of the folder to add.

Return Value

Type: System.Object
A VCFilter object representing the filter just added.

.NET Framework Security

See Also

Reference

VCFilter Interface

Microsoft.VisualStudio.VCProjectEngine Namespace