IWebClassLibProjectEvents.OnFileAdded(String, Boolean) 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.
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.