VCFilter.AddFile Method

Adds a file to the current filter.

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

Syntax

声明
Function AddFile ( _
    bstrPath As String _
) As Object
用法
Dim instance As VCFilter
Dim bstrPath As String
Dim returnValue As Object

returnValue = instance.AddFile(bstrPath)
Object AddFile(
    string bstrPath
)
Object^ AddFile(
    String^ bstrPath
)
function AddFile(
    bstrPath : String
) : Object

Parameters

  • bstrPath
    Type: System.String

    Required. The name of the filter to add to the project or folder.

Return Value

Type: System.Object

A string representing the name of the file.

Permissions

See Also

Reference

VCFilter Interface

VCFilter Members

Microsoft.VisualStudio.VCProjectEngine Namespace