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.StringRequired. 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
- 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.