VCFilter.AddFile Method
Adds a file to the current filter.
Namespace: Microsoft.VisualStudio.VCProjectEngine
Assembly: Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)
Syntax
'Declaración
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
- 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.