FlavoredProject::IVsTrackProjectDocumentsEvents2::OnAfterAddDirectoriesEx Method (Int32, Int32, array<IVsProject^>^, array<Int32>^, array<String^>^, array<VSADDDIRECTORYFLAGS>^)

 

Raised after directories have been added to a project.

Namespace:   Microsoft.VisualStudio.Shell.Flavor
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

private:
virtual int OnAfterAddDirectoriesEx(
	int cProjects,
	int cDirectories,
	array<IVsProject^>^ rgpProjects,
	array<int>^ rgFirstIndices,
	array<String^>^ rgpszMkDocuments,
	array<VSADDDIRECTORYFLAGS>^ rgFlags
) sealed = IVsTrackProjectDocumentsEvents2::OnAfterAddDirectoriesEx

Parameters

cProjects
Type: System::Int32

The number of projects in the rgpProjects array.

cDirectories
Type: System::Int32

The number of directories to be added.

rgpProjects
Type: array<Microsoft.VisualStudio.Shell.Interop::IVsProject^>^

An array of IVsProject objects, corresponding to the projects in the solution.

rgFirstIndices
Type: array<System::Int32>^

An array of indices of the directories that were affected.

rgpszMkDocuments
Type: array<System::String^>^

An array of paths of the directories that were added.

rgFlags
Type: array<Microsoft.VisualStudio.Shell.Interop::VSADDDIRECTORYFLAGS>^

An array of VSADDDIRECTORYFLAGS. May be null.

Events are filtered so that they report only those related to this project. This is not required for flavoring, but it simplifies the work the derived classes have to do when subscribing to these events.

Return to top
Show: