IVsTrackProjectDocumentsEvents4.OnQueryRemoveFilesEx 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.
Notifies the client when a project has requested to remove files.
public:
void OnQueryRemoveFilesEx(Microsoft::VisualStudio::Shell::Interop::IVsProject ^ pProject, int cFiles, cli::array <System::String ^> ^ rgpszMkDocuments, cli::array <System::UInt32> ^ rgFlags, cli::array <Microsoft::VisualStudio::Shell::Interop::VSQUERYREMOVEFILERESULTS> ^ pSummaryResult, cli::array <Microsoft::VisualStudio::Shell::Interop::VSQUERYREMOVEFILERESULTS> ^ rgResults);
public:
void OnQueryRemoveFilesEx(Microsoft::VisualStudio::Shell::Interop::IVsProject ^ pProject, int cFiles, Platform::Array <Platform::String ^> ^ rgpszMkDocuments, Platform::Array <unsigned int> ^ rgFlags, Platform::Array <Microsoft::VisualStudio::Shell::Interop::VSQUERYREMOVEFILERESULTS> ^ pSummaryResult, Platform::Array <Microsoft::VisualStudio::Shell::Interop::VSQUERYREMOVEFILERESULTS> ^ rgResults);
void OnQueryRemoveFilesEx(Microsoft::VisualStudio::Shell::Interop::IVsProject const & pProject, int cFiles, std::Array <std::wstring const &> const & rgpszMkDocuments, std::Array <unsigned int> const & rgFlags, std::Array <Microsoft::VisualStudio::Shell::Interop::VSQUERYREMOVEFILERESULTS> const & pSummaryResult, std::Array <Microsoft::VisualStudio::Shell::Interop::VSQUERYREMOVEFILERESULTS> const & rgResults);
public void OnQueryRemoveFilesEx (Microsoft.VisualStudio.Shell.Interop.IVsProject pProject, int cFiles, string[] rgpszMkDocuments, uint[] rgFlags, Microsoft.VisualStudio.Shell.Interop.VSQUERYREMOVEFILERESULTS[] pSummaryResult, Microsoft.VisualStudio.Shell.Interop.VSQUERYREMOVEFILERESULTS[] rgResults);
abstract member OnQueryRemoveFilesEx : Microsoft.VisualStudio.Shell.Interop.IVsProject * int * string[] * uint32[] * Microsoft.VisualStudio.Shell.Interop.VSQUERYREMOVEFILERESULTS[] * Microsoft.VisualStudio.Shell.Interop.VSQUERYREMOVEFILERESULTS[] -> unit
Public Sub OnQueryRemoveFilesEx (pProject As IVsProject, cFiles As Integer, rgpszMkDocuments As String(), rgFlags As UInteger(), pSummaryResult As VSQUERYREMOVEFILERESULTS(), rgResults As VSQUERYREMOVEFILERESULTS())
Parameters
- pProject
- IVsProject
[in] Project from which the files will be removed.
- cFiles
- Int32
[in] Number of files to remove.
- rgpszMkDocuments
- String[]
[in, size_is(cFiles)] Array of paths for the files to be removed.
- rgFlags
- UInt32[]
[in, size_is(cFiles)] Array of flags. For a list of rgFlags
values, see __VSQUERYREMOVEFILEFLAGS2.
- pSummaryResult
- 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
- VSQUERYREMOVEFILERESULTS[]
[out, size_is(cFiles)] Array of results. For a list of rgResults
values, see VSQUERYREMOVEFILERESULTS
.