Partilhar via


FlavoredProject.IVsTrackProjectDocumentsEvents2.OnAfterRemoveFiles Method

Definition

Raised after files have been removed from the project.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsTrackProjectDocumentsEvents2.OnAfterRemoveFiles(int cProjects, int cFiles, cli::array <Microsoft::VisualStudio::Shell::Interop::IVsProject ^> ^ rgpProjects, cli::array <int> ^ rgFirstIndices, cli::array <System::String ^> ^ rgpszMkDocuments, cli::array <Microsoft::VisualStudio::Shell::Interop::VSREMOVEFILEFLAGS> ^ rgFlags) = Microsoft::VisualStudio::Shell::Interop::IVsTrackProjectDocumentsEvents2::OnAfterRemoveFiles;
 virtual int Microsoft.VisualStudio.Shell.Interop.IVsTrackProjectDocumentsEvents2.OnAfterRemoveFiles(int cProjects, int cFiles, Platform::Array <Microsoft::VisualStudio::Shell::Interop::IVsProject ^> ^ rgpProjects, Platform::Array <int> ^ rgFirstIndices, Platform::Array <Platform::String ^> ^ rgpszMkDocuments, Platform::Array <Microsoft::VisualStudio::Shell::Interop::VSREMOVEFILEFLAGS> ^ rgFlags) = Microsoft::VisualStudio::Shell::Interop::IVsTrackProjectDocumentsEvents2::OnAfterRemoveFiles;
int Microsoft.VisualStudio.Shell.Interop.IVsTrackProjectDocumentsEvents2.OnAfterRemoveFiles(int cProjects, int cFiles, 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::VSREMOVEFILEFLAGS> const & rgFlags);
int IVsTrackProjectDocumentsEvents2.OnAfterRemoveFiles (int cProjects, int cFiles, Microsoft.VisualStudio.Shell.Interop.IVsProject[] rgpProjects, int[] rgFirstIndices, string[] rgpszMkDocuments, Microsoft.VisualStudio.Shell.Interop.VSREMOVEFILEFLAGS[] rgFlags);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsTrackProjectDocumentsEvents2.OnAfterRemoveFiles : int * int * Microsoft.VisualStudio.Shell.Interop.IVsProject[] * int[] * string[] * Microsoft.VisualStudio.Shell.Interop.VSREMOVEFILEFLAGS[] -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsTrackProjectDocumentsEvents2.OnAfterRemoveFiles : int * int * Microsoft.VisualStudio.Shell.Interop.IVsProject[] * int[] * string[] * Microsoft.VisualStudio.Shell.Interop.VSREMOVEFILEFLAGS[] -> int
Function OnAfterRemoveFiles (cProjects As Integer, cFiles As Integer, rgpProjects As IVsProject(), rgFirstIndices As Integer(), rgpszMkDocuments As String(), rgFlags As VSREMOVEFILEFLAGS()) As Integer Implements IVsTrackProjectDocumentsEvents2.OnAfterRemoveFiles

Parameters

cProjects
Int32

The number of projects in the rgpProjects array.

cFiles
Int32

The number of files that were affected.

rgpProjects
IVsProject[]

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

rgFirstIndices
Int32[]

An array of indices of the files that were affected.

rgpszMkDocuments
String[]

An array of paths of the files that were affected.

rgFlags
VSREMOVEFILEFLAGS[]

An array of VSREMOVEFILEFLAGS. 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