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.StringRequired. The name of the folder to add.
Return Value
Type: System.Object
A VCFilter object representing the filter just added.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.