共用方式為


IVsTrackProjectDocumentsEvents4.OnAfterRemoveDirectoriesEx Method

Definition

Notifies the client when directories have been removed from the project.

public:
 void OnAfterRemoveDirectoriesEx(int cProjects, int cDirectories, cli::array <Microsoft::VisualStudio::Shell::Interop::IVsProject ^> ^ rgpProjects, cli::array <int> ^ rgFirstIndices, cli::array <System::String ^> ^ rgpszMkDocuments, cli::array <System::UInt32> ^ rgFlags);
public:
 void OnAfterRemoveDirectoriesEx(int cProjects, int cDirectories, Platform::Array <Microsoft::VisualStudio::Shell::Interop::IVsProject ^> ^ rgpProjects, Platform::Array <int> ^ rgFirstIndices, Platform::Array <Platform::String ^> ^ rgpszMkDocuments, Platform::Array <unsigned int> ^ rgFlags);
void OnAfterRemoveDirectoriesEx(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 <unsigned int> const & rgFlags);
public void OnAfterRemoveDirectoriesEx (int cProjects, int cDirectories, Microsoft.VisualStudio.Shell.Interop.IVsProject[] rgpProjects, int[] rgFirstIndices, string[] rgpszMkDocuments, uint[] rgFlags);
abstract member OnAfterRemoveDirectoriesEx : int * int * Microsoft.VisualStudio.Shell.Interop.IVsProject[] * int[] * string[] * uint32[] -> unit
Public Sub OnAfterRemoveDirectoriesEx (cProjects As Integer, cDirectories As Integer, rgpProjects As IVsProject(), rgFirstIndices As Integer(), rgpszMkDocuments As String(), rgFlags As UInteger())

Parameters

cProjects
Int32

[in] Number of projects from which directories were removed.

cDirectories
Int32

[in] Number of directories removed.

rgpProjects
IVsProject[]

[in, size_is(cProjects)] Array of projects from which directories were removed.

rgFirstIndices
Int32[]

[in, size_is(cProjects)] Array of first indices identifying to which project each directory belongs. For more information, see IVsTrackProjectDocumentsEvents2.

rgpszMkDocuments
String[]

[in, size_is(cDirectories)] Array of paths for the directories that were removed.

rgFlags
UInt32[]

[in, size_is(cDirectories)] Array of flags. For a list of rgFlags values, see __VSREMOVEDIRECTORYFLAGS2.

Applies to