IVsTrackProjectDocumentsEvents4.OnQueryRemoveDirectoriesEx Method
Notifies the client when a project has requested to remove directories.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
Syntax
'Declaration
Sub OnQueryRemoveDirectoriesEx ( _
pProject As IVsProject, _
cDirectories As Integer, _
rgpszMkDocuments As String(), _
rgFlags As UInteger(), _
<OutAttribute> pSummaryResult As VSQUERYREMOVEDIRECTORYRESULTS(), _
<OutAttribute> rgResults As VSQUERYREMOVEDIRECTORYRESULTS() _
)
void OnQueryRemoveDirectoriesEx(
IVsProject pProject,
int cDirectories,
string[] rgpszMkDocuments,
uint[] rgFlags,
VSQUERYREMOVEDIRECTORYRESULTS[] pSummaryResult,
VSQUERYREMOVEDIRECTORYRESULTS[] rgResults
)
void OnQueryRemoveDirectoriesEx(
[InAttribute] IVsProject^ pProject,
[InAttribute] int cDirectories,
[InAttribute] array<String^>^ rgpszMkDocuments,
[InAttribute] array<unsigned int>^ rgFlags,
[OutAttribute] array<VSQUERYREMOVEDIRECTORYRESULTS>^ pSummaryResult,
[OutAttribute] array<VSQUERYREMOVEDIRECTORYRESULTS>^ rgResults
)
abstract OnQueryRemoveDirectoriesEx :
pProject:IVsProject *
cDirectories:int *
rgpszMkDocuments:string[] *
rgFlags:uint32[] *
pSummaryResult:VSQUERYREMOVEDIRECTORYRESULTS[] byref *
rgResults:VSQUERYREMOVEDIRECTORYRESULTS[] byref -> unit
function OnQueryRemoveDirectoriesEx(
pProject : IVsProject,
cDirectories : int,
rgpszMkDocuments : String[],
rgFlags : uint[],
pSummaryResult : VSQUERYREMOVEDIRECTORYRESULTS[],
rgResults : VSQUERYREMOVEDIRECTORYRESULTS[]
)
Parameters
pProject
Type: Microsoft.VisualStudio.Shell.Interop.IVsProject[in] Project from which the directories will be removed.
cDirectories
Type: Int32[in] Number of directories to remove.
rgpszMkDocuments
Type: array<String[][in, size_is(cDirectories)] Array of paths for the directories to remove.
rgFlags
Type: array<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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.