FlavoredProject::IVsTrackProjectDocumentsEvents2::OnQueryRemoveFiles Method (IVsProject^, Int32, array<String^>^, array<VSQUERYREMOVEFILEFLAGS>^, array<VSQUERYREMOVEFILERESULTS>^, array<VSQUERYREMOVEFILERESULTS>^)

 

Raised to determine whether files can be removed from the project. Not used.

Namespace:   Microsoft.VisualStudio.Shell.Flavor
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

private:
virtual int OnQueryRemoveFiles(
	IVsProject^ pProject,
	int cFiles,
	array<String^>^ rgpszMkDocuments,
	array<VSQUERYREMOVEFILEFLAGS>^ rgFlags,
	array<VSQUERYREMOVEFILERESULTS>^ pSummaryResult,
	array<VSQUERYREMOVEFILERESULTS>^ rgResults
) sealed = IVsTrackProjectDocumentsEvents2::OnQueryRemoveFiles

Parameters

pProject
Type: Microsoft.VisualStudio.Shell.Interop::IVsProject^

The IVsProject affected. 

cFiles
Type: System::Int32

The number of files affected.

rgpszMkDocuments
Type: array<System::String^>^

An array of paths to the files.

rgFlags
Type: array<Microsoft.VisualStudio.Shell.Interop::VSQUERYREMOVEFILEFLAGS>^

An array of VSQUERYREMOVEFILEFLAGS.

pSummaryResult
Type: array<Microsoft.VisualStudio.Shell.Interop::VSQUERYREMOVEFILERESULTS>^

An array of summary VSQUERYREMOVEFILERESULTS objects, which represent a summary of the yes/no values returned.

rgResults
Type: array<Microsoft.VisualStudio.Shell.Interop::VSQUERYREMOVEFILERESULTS>^

An array of VSQUERYREMOVEFILERESULTS.

This event is not used.

Return to top
Show: