IVsTrackProjectDocumentsEvents4.OnQueryRemoveFilesEx(IVsProject, Int32, String[], UInt32[], VSQUERYREMOVEFILERESULTS[], VSQUERYREMOVEFILERESULTS[]) Метод
Определение
Уведомляет клиент, если проект запросил удалить файлы.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())
Параметры
- pProject
- IVsProject
[in] Проект, из которого будут удалены файлы.[in] Project from which the files will be removed.
- cFiles
- Int32
[in] Число файлов для удаления.[in] Number of files to remove.
- rgpszMkDocuments
- String[]
[in, size_is(cFiles)] Массив путей к файлам, которые подлежат удалению.[in, size_is(cFiles)] Array of paths for the files to be removed.
- rgFlags
- UInt32[]
[in, size_is(cFiles)] Массив флагов.[in, size_is(cFiles)] Array of flags. Список значений rgFlags
см. в __VSQUERYREMOVEFILEFLAGS2.For a list of rgFlags
values, see __VSQUERYREMOVEFILEFLAGS2.
- pSummaryResult
- VSQUERYREMOVEFILERESULTS[]
[out] Объект сводного результата.[out] Summary result object. Этот объект является суммированием значений Да и не имеет результатов для массива переданных файлов rgpszMkDocuments
.This object is a summation of the yes and no results for the array of files passed in rgpszMkDocuments
. Если для одного файла результат отрицательный, этот параметр равен VSQUERYREMOVEFILERESULTS_RemoveNotOK; если результаты для всех файлов положительные, этот параметр равен VSQUERYREMOVEFILERESULTS_RemoveOK.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. Список значений pSummaryResult
см. в VSQUERYREMOVEFILERESULTS.For a list of pSummaryResult
values, see VSQUERYREMOVEFILERESULTS.
- rgResults
- VSQUERYREMOVEFILERESULTS[]
[out, size_is(cFiles)] Массив результатов.[out, size_is(cFiles)] Array of results. Список значений rgResults
см. в VSQUERYREMOVEFILERESULTS
.For a list of rgResults
values, see VSQUERYREMOVEFILERESULTS
.