IVsTrackProjectDocumentsEvents2.OnAfterRemoveDirectories 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 when directories have been removed from the project.
public:
int OnAfterRemoveDirectories(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::VSREMOVEDIRECTORYFLAGS> ^ rgFlags);
public:
int OnAfterRemoveDirectories(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::VSREMOVEDIRECTORYFLAGS> ^ rgFlags);
int OnAfterRemoveDirectories(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::VSREMOVEDIRECTORYFLAGS> const & rgFlags);
public int OnAfterRemoveDirectories (int cProjects, int cDirectories, Microsoft.VisualStudio.Shell.Interop.IVsProject[] rgpProjects, int[] rgFirstIndices, string[] rgpszMkDocuments, Microsoft.VisualStudio.Shell.Interop.VSREMOVEDIRECTORYFLAGS[] rgFlags);
abstract member OnAfterRemoveDirectories : int * int * Microsoft.VisualStudio.Shell.Interop.IVsProject[] * int[] * string[] * Microsoft.VisualStudio.Shell.Interop.VSREMOVEDIRECTORYFLAGS[] -> int
Public Function OnAfterRemoveDirectories (cProjects As Integer, cDirectories As Integer, rgpProjects As IVsProject(), rgFirstIndices As Integer(), rgpszMkDocuments As String(), rgFlags As VSREMOVEDIRECTORYFLAGS()) As Integer
Parameters
- cProjects
- Int32
[in] Number of projects from which directories were removed.
- cDirectories
- Int32
[in] Number of directories removed.
- rgpProjects
- IVsProject[]
[in] Array of projects from which directories were removed.
- 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 removed.
- rgFlags
- VSREMOVEDIRECTORYFLAGS[]
[in] Array of flags. For a list of rgFlags
values, see VSREMOVEDIRECTORYFLAGS.
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::OnAfterRemoveDirectories(
[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 VSREMOVEDIRECTORYFLAGS rgFlags[]
);