Compartilhar via


VCFilter.AddFile Method

Adds a file to the current filter.

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

Syntax

'Declaration
Function AddFile ( _
    bstrPath As String _
) As Object
Object AddFile(
    string bstrPath
)
Object^ AddFile(
    String^ bstrPath
)
abstract AddFile : 
        bstrPath:string -> Object
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.

.NET Framework Security

See Also

Reference

VCFilter Interface

Microsoft.VisualStudio.VCProjectEngine Namespace