IVsTrackProjectDocumentsEvents2.OnAfterAddDirectoriesEx 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.
This method notifies the client after directories are added to the project.
public:
int 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);
public:
int 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);
int 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);
public int OnAfterAddDirectoriesEx (int cProjects, int cDirectories, Microsoft.VisualStudio.Shell.Interop.IVsProject[] rgpProjects, int[] rgFirstIndices, string[] rgpszMkDocuments, Microsoft.VisualStudio.Shell.Interop.VSADDDIRECTORYFLAGS[] rgFlags);
abstract member OnAfterAddDirectoriesEx : int * int * Microsoft.VisualStudio.Shell.Interop.IVsProject[] * int[] * string[] * Microsoft.VisualStudio.Shell.Interop.VSADDDIRECTORYFLAGS[] -> int
Public Function OnAfterAddDirectoriesEx (cProjects As Integer, cDirectories As Integer, rgpProjects As IVsProject(), rgFirstIndices As Integer(), rgpszMkDocuments As String(), rgFlags As VSADDDIRECTORYFLAGS()) As Integer
Parameters
- cProjects
- Int32
[in] Number of projects to which directories were added.
- cDirectories
- Int32
[in] Number of directories added.
- rgpProjects
- IVsProject[]
[in] Array of projects to which directories were added.
- rgFirstIndices
- Int32[]
[in] Array of first indices identifying which project each directory belongs to. For more information, see IVsTrackProjectDocumentsEvents2.
- rgpszMkDocuments
- String[]
[in] Array of paths for the directories that were added. This is the same size as cDirectories
.
- rgFlags
- VSADDDIRECTORYFLAGS[]
[in] Array of flags. For a list of rgFlags
values, see the VSADDDIRECTORYFLAGS enumeration.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From IVsTrackProjectDocumentsEvents2.idl
HRESULT IVsTrackProjectDocumentsEvents2::OnAfterAddDirectoriesEx(
[in] int cProjects,
[in] int cDirectories,
[in, size_is(cProjects)] IVsProject *rgpProjects[],
[in, size_is(cProjects)] const int rgFirstIndices[],
[in, size_is(cDirectories)] const LPCOLESTR rgpszMkDocuments[],
[in, size_is(cDirectories)] const VSADDDIRECTORYFLAGS rgFlags[]
);