IVsTrackProjectDocumentsEvents4::OnQueryRemoveFilesEx Method (IVsProject^, Int32, array<String^>^, array<UInt32>^, array<VSQUERYREMOVEFILERESULTS>^, array<VSQUERYREMOVEFILERESULTS>^)
Notifies the client when a project has requested to remove files.
Assembly: Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
void OnQueryRemoveFilesEx( IVsProject^ pProject, int cFiles, array<String^>^ rgpszMkDocuments, array<unsigned int>^ rgFlags, array<VSQUERYREMOVEFILERESULTS>^ pSummaryResult, array<VSQUERYREMOVEFILERESULTS>^ rgResults )
Parameters
- pProject
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsProject^
[in] Project from which the files will be removed.
- cFiles
-
Type:
System::Int32
[in] Number of files to remove.
- rgpszMkDocuments
-
Type:
array<System::String^>^
[in, size_is(cFiles)] Array of paths for the files to be removed.
- rgFlags
-
Type:
array<System::UInt32>^
[in, size_is(cFiles)] Array of flags. For a list of rgFlags values, see __VSQUERYREMOVEFILEFLAGS2.
- pSummaryResult
-
Type:
array<Microsoft.VisualStudio.Shell.Interop::VSQUERYREMOVEFILERESULTS>^
[out] Summary result object. This object is a summation of the yes and no results for the array of files passed in rgpszMkDocuments. If the result for a single file is no, then this parameter is equal to VSQUERYREMOVEFILERESULTS_RemoveNotOK; if the results for all files are yes, then this parameter is equal to VSQUERYREMOVEFILERESULTS_RemoveOK. For a list of pSummaryResult values, see VSQUERYREMOVEFILERESULTS.
- rgResults
-
Type:
array<Microsoft.VisualStudio.Shell.Interop::VSQUERYREMOVEFILERESULTS>^
[out, size_is(cFiles)] Array of results. For a list of rgResults values, see VSQUERYREMOVEFILERESULTS.