共用方式為


IVsTrackProjectDocumentsEvents4.OnAfterRemoveFilesEx Method

Definition

Notifies the client after files are removed from the project.

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

Parameters

cProjects
Int32

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

cFiles
Int32

[in] Number of files removed.

rgpProjects
IVsProject[]

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

rgFirstIndices
Int32[]

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

rgpszMkDocuments
String[]

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

rgFlags
UInt32[]

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

Applies to