VCFilter.AddFile(String) 方法

定义

将文件添加到当前筛选器。

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

参数

bstrPath
String

必需。 要添加到项目或文件夹中的筛选器的名称。

返回

Object

一个表示文件名称的字符串。

属性

适用于