IVsTrackProjectDocumentsEvents4::OnQueryRemoveDirectoriesEx Method (IVsProject^, Int32, array<String^>^, array<UInt32>^, array<VSQUERYREMOVEDIRECTORYRESULTS>^, array<VSQUERYREMOVEDIRECTORYRESULTS>^)
Notifies the client when a project has requested to remove directories.
Assembly: Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
void OnQueryRemoveDirectoriesEx( IVsProject^ pProject, int cDirectories, array<String^>^ rgpszMkDocuments, array<unsigned int>^ rgFlags, array<VSQUERYREMOVEDIRECTORYRESULTS>^ pSummaryResult, array<VSQUERYREMOVEDIRECTORYRESULTS>^ rgResults )
Parameters
- pProject
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsProject^
[in] Project from which the directories will be removed.
- cDirectories
-
Type:
System::Int32
[in] Number of directories to remove.
- rgpszMkDocuments
-
Type:
array<System::String^>^
[in, size_is(cDirectories)] Array of paths for the directories to remove.
- rgFlags
-
Type:
array<System::UInt32>^
[in, size_is(cDirectories)] Array of flags. For a list of rgFlags values, see __VSQUERYREMOVEDIRECTORYFLAGS2.
- pSummaryResult
-
Type:
array<Microsoft.VisualStudio.Shell.Interop::VSQUERYREMOVEDIRECTORYRESULTS>^
[out] Summary result object. This object is a summation of the yes and no results for the array of directories passed in rgpszMkDocuments. If the result for a single directory is no, then this parameter is equal to VSQUERYREMOVEDIRECTORYRESULTS_RemoveNotOK; if the results for all files are yes, then this parameter is equal to VSQUERYREMOVEDIRECTORYRESULTS_RemoveOK. For a list of pSummaryResult values, see VSQUERYREMOVEDIRECTORYRESULTS.
- rgResults
-
Type:
array<Microsoft.VisualStudio.Shell.Interop::VSQUERYREMOVEDIRECTORYRESULTS>^
[out, size_is(cDirectories)] Array of results. For a list of rgResults values, see VSQUERYREMOVEDIRECTORYRESULTS.