IVsTrackProjectDocumentsEvents4.OnQueryRemoveFilesEx 方法

定义

当项目请求删除文件时通知客户端。

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

中将从中删除文件的项目。

cFiles
Int32

中要删除的文件数。

rgpszMkDocuments
String[]

[size_is (cFiles) ]要删除的文件的路径的数组。

rgFlags
UInt32[]

[size_is (cFiles) ]标志数组。 有关值的列表 rgFlags ,请参阅 __VSQUERYREMOVEFILEFLAGS2

pSummaryResult
VSQUERYREMOVEFILERESULTS[]

弄Summary result 对象。 此对象是传递的文件数组的 "是" 和 "无" 结果的总和 rgpszMkDocuments 。 如果单个文件的结果为 "否",则此参数等于 VSQUERYREMOVEFILERESULTS_RemoveNotOK ; 如果所有文件的结果都为 "是",则此参数等于 VSQUERYREMOVEFILERESULTS_RemoveOK 。 有关值的列表 pSummaryResult ,请参阅 VSQUERYREMOVEFILERESULTS

rgResults
VSQUERYREMOVEFILERESULTS[]

[out,size_is (cFiles) ]结果数组。 有关值的列表 rgResults ,请参阅 VSQUERYREMOVEFILERESULTS

适用于