Partager via


IWebClassLibProjectEvents.OnFileAdded(String, Boolean) Method

Definition

Occurs when a file is added.

public:
 int OnFileAdded(System::String ^ pszFilePath, bool foldersMustBeInProject);
public:
 int OnFileAdded(Platform::String ^ pszFilePath, bool foldersMustBeInProject);
int OnFileAdded(std::wstring const & pszFilePath, bool foldersMustBeInProject);
public int OnFileAdded (string pszFilePath, bool foldersMustBeInProject);
abstract member OnFileAdded : string * bool -> int
Public Function OnFileAdded (pszFilePath As String, foldersMustBeInProject As Boolean) As Integer

Parameters

pszFilePath
String

The path of the file.

foldersMustBeInProject
Boolean

true if the folders must be included in the project, otherwise false.

Returns

The HRESULT.

Applies to