FlavoredProject::IVsTrackProjectDocumentsEvents2::OnQueryAddDirectories Method (IVsProject^, Int32, array<String^>^, array<VSQUERYADDDIRECTORYFLAGS>^, array<VSQUERYADDDIRECTORYRESULTS>^, array<VSQUERYADDDIRECTORYRESULTS>^)

 

Raised by a project to determine whether directories 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 OnQueryAddDirectories(
	IVsProject^ pProject,
	int cDirectories,
	array<String^>^ rgpszMkDocuments,
	array<VSQUERYADDDIRECTORYFLAGS>^ rgFlags,
	array<VSQUERYADDDIRECTORYRESULTS>^ pSummaryResult,
	array<VSQUERYADDDIRECTORYRESULTS>^ rgResults
) sealed = IVsTrackProjectDocumentsEvents2::OnQueryAddDirectories

Parameters

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

The IVsProject affected.

cDirectories
Type: System::Int32

The number of directories affected.

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

An array of paths to the directories.

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

An array of VSQUERYADDDIRECTORYFLAGS.

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

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

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

An array of VSQUERYADDDIRECTORYRESULTS.

This event is not used.

Return to top
Show: