Partilhar via


FlavoredProject.IVsTrackProjectDocumentsEvents2.OnAfterAddDirectoriesEx Method

Definition

Raised after directories have been added to a project.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsTrackProjectDocumentsEvents2.OnAfterAddDirectoriesEx(int cProjects, int cDirectories, cli::array <Microsoft::VisualStudio::Shell::Interop::IVsProject ^> ^ rgpProjects, cli::array <int> ^ rgFirstIndices, cli::array <System::String ^> ^ rgpszMkDocuments, cli::array <Microsoft::VisualStudio::Shell::Interop::VSADDDIRECTORYFLAGS> ^ rgFlags) = Microsoft::VisualStudio::Shell::Interop::IVsTrackProjectDocumentsEvents2::OnAfterAddDirectoriesEx;
 virtual int Microsoft.VisualStudio.Shell.Interop.IVsTrackProjectDocumentsEvents2.OnAfterAddDirectoriesEx(int cProjects, int cDirectories, Platform::Array <Microsoft::VisualStudio::Shell::Interop::IVsProject ^> ^ rgpProjects, Platform::Array <int> ^ rgFirstIndices, Platform::Array <Platform::String ^> ^ rgpszMkDocuments, Platform::Array <Microsoft::VisualStudio::Shell::Interop::VSADDDIRECTORYFLAGS> ^ rgFlags) = Microsoft::VisualStudio::Shell::Interop::IVsTrackProjectDocumentsEvents2::OnAfterAddDirectoriesEx;
int Microsoft.VisualStudio.Shell.Interop.IVsTrackProjectDocumentsEvents2.OnAfterAddDirectoriesEx(int cProjects, int cDirectories, std::Array <Microsoft::VisualStudio::Shell::Interop::IVsProject const &> const & rgpProjects, std::Array <int> const & rgFirstIndices, std::Array <std::wstring const &> const & rgpszMkDocuments, std::Array <Microsoft::VisualStudio::Shell::Interop::VSADDDIRECTORYFLAGS> const & rgFlags);
int IVsTrackProjectDocumentsEvents2.OnAfterAddDirectoriesEx (int cProjects, int cDirectories, Microsoft.VisualStudio.Shell.Interop.IVsProject[] rgpProjects, int[] rgFirstIndices, string[] rgpszMkDocuments, Microsoft.VisualStudio.Shell.Interop.VSADDDIRECTORYFLAGS[] rgFlags);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsTrackProjectDocumentsEvents2.OnAfterAddDirectoriesEx : int * int * Microsoft.VisualStudio.Shell.Interop.IVsProject[] * int[] * string[] * Microsoft.VisualStudio.Shell.Interop.VSADDDIRECTORYFLAGS[] -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsTrackProjectDocumentsEvents2.OnAfterAddDirectoriesEx : int * int * Microsoft.VisualStudio.Shell.Interop.IVsProject[] * int[] * string[] * Microsoft.VisualStudio.Shell.Interop.VSADDDIRECTORYFLAGS[] -> int
Function OnAfterAddDirectoriesEx (cProjects As Integer, cDirectories As Integer, rgpProjects As IVsProject(), rgFirstIndices As Integer(), rgpszMkDocuments As String(), rgFlags As VSADDDIRECTORYFLAGS()) As Integer Implements IVsTrackProjectDocumentsEvents2.OnAfterAddDirectoriesEx

Parameters

cProjects
Int32

The number of projects in the rgpProjects array.

cDirectories
Int32

The number of directories to be added.

rgpProjects
IVsProject[]

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

rgFirstIndices
Int32[]

An array of indices of the directories that were affected.

rgpszMkDocuments
String[]

An array of paths of the directories that were added.

rgFlags
VSADDDIRECTORYFLAGS[]

An array of VSADDDIRECTORYFLAGS. May be null.

Returns

Microsoft.VisualStudio.NativeMethods.S_OK.

Implements

Remarks

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.

Applies to