Sdílet prostřednictvím


VCFilter.AddFile(String) Method

Definition

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

Applies to