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

声明
Function AddFilter ( _
    bstrName As String _
) As Object
用法
Dim instance As VCFilter
Dim bstrName As String
Dim returnValue As Object

returnValue = instance.AddFilter(bstrName)
Object AddFilter(
    string bstrName
)
Object^ AddFilter(
    String^ bstrName
)
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.

Permissions

See Also

Reference

VCFilter Interface

VCFilter Members

Microsoft.VisualStudio.VCProjectEngine Namespace