VCFilter.AddFile(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a file to the current filter.
public:
System::Object ^ AddFile(System::String ^ bstrPath);
public:
Platform::Object ^ AddFile(Platform::String ^ bstrPath);
winrt::Windows::Foundation::IInspectable AddFile(std::wstring const & bstrPath);
[System.Runtime.InteropServices.DispId(2348)]
public object AddFile (string bstrPath);
[<System.Runtime.InteropServices.DispId(2348)>]
abstract member AddFile : string -> obj
Public Function AddFile (bstrPath As String) As Object
Parameters
- bstrPath
- String
Required. The name of the filter to add to the project or folder.
Returns
A string representing the name of the file.
- Attributes