IWebClassLibProjectEvents::OnFileAdded Method (String^, Boolean)

 

Occurs when a file is added.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

int OnFileAdded(
	String^ pszFilePath,
	bool foldersMustBeInProject
)

Parameters

pszFilePath
Type: System::String^

The path of the file.

foldersMustBeInProject
Type: System::Boolean

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

Return Value

Type: System::Int32

The HRESULT.

Return to top
Show: