FlavoredProject::IVsTrackProjectDocumentsEvents2::OnQueryAddFiles Method (IVsProject^, Int32, array<String^>^, array<VSQUERYADDFILEFLAGS>^, array<VSQUERYADDFILERESULTS>^, array<VSQUERYADDFILERESULTS>^)

 

Raised to determine whether files can be added to 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 OnQueryAddFiles(
	IVsProject^ pProject,
	int cFiles,
	array<String^>^ rgpszMkDocuments,
	array<VSQUERYADDFILEFLAGS>^ rgFlags,
	array<VSQUERYADDFILERESULTS>^ pSummaryResult,
	array<VSQUERYADDFILERESULTS>^ rgResults
) sealed = IVsTrackProjectDocumentsEvents2::OnQueryAddFiles

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 of the files.

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

An array of VSQUERYADDFILEFLAGS.

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

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

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

An array of VSQUERYADDFILERESULTS.

This event is not used.

Return to top
Show: