FlavoredProject.IVsTrackProjectDocumentsEvents2.OnQueryRemoveDirectories Method
Raised to determine whether directories can be removed from the project. Not used.
Namespace: Microsoft.VisualStudio.Shell.Flavor
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Private Function OnQueryRemoveDirectories ( _
pProject As IVsProject, _
cDirectories As Integer, _
rgpszMkDocuments As String(), _
rgFlags As VSQUERYREMOVEDIRECTORYFLAGS(), _
pSummaryResult As VSQUERYREMOVEDIRECTORYRESULTS(), _
rgResults As VSQUERYREMOVEDIRECTORYRESULTS() _
) As Integer Implements IVsTrackProjectDocumentsEvents2.OnQueryRemoveDirectories
int IVsTrackProjectDocumentsEvents2.OnQueryRemoveDirectories(
IVsProject pProject,
int cDirectories,
string[] rgpszMkDocuments,
VSQUERYREMOVEDIRECTORYFLAGS[] rgFlags,
VSQUERYREMOVEDIRECTORYRESULTS[] pSummaryResult,
VSQUERYREMOVEDIRECTORYRESULTS[] rgResults
)
private:
virtual int OnQueryRemoveDirectories(
IVsProject^ pProject,
int cDirectories,
array<String^>^ rgpszMkDocuments,
array<VSQUERYREMOVEDIRECTORYFLAGS>^ rgFlags,
array<VSQUERYREMOVEDIRECTORYRESULTS>^ pSummaryResult,
array<VSQUERYREMOVEDIRECTORYRESULTS>^ rgResults
) sealed = IVsTrackProjectDocumentsEvents2::OnQueryRemoveDirectories
private abstract OnQueryRemoveDirectories :
pProject:IVsProject *
cDirectories:int *
rgpszMkDocuments:string[] *
rgFlags:VSQUERYREMOVEDIRECTORYFLAGS[] *
pSummaryResult:VSQUERYREMOVEDIRECTORYRESULTS[] *
rgResults:VSQUERYREMOVEDIRECTORYRESULTS[] -> int
private override OnQueryRemoveDirectories :
pProject:IVsProject *
cDirectories:int *
rgpszMkDocuments:string[] *
rgFlags:VSQUERYREMOVEDIRECTORYFLAGS[] *
pSummaryResult:VSQUERYREMOVEDIRECTORYRESULTS[] *
rgResults:VSQUERYREMOVEDIRECTORYRESULTS[] -> int
JScript does not support explicit interface implementations.
Parameters
pProject
Type: Microsoft.VisualStudio.Shell.Interop.IVsProjectThe IVsProject affected.
cDirectories
Type: Int32The number of directories affected.
rgpszMkDocuments
Type: array<String[]An array of paths of the directories.
rgFlags
Type: array<Microsoft.VisualStudio.Shell.Interop.VSQUERYREMOVEDIRECTORYFLAGS[]An array of VSQUERYREMOVEDIRECTORYFLAGS.
pSummaryResult
Type: array<Microsoft.VisualStudio.Shell.Interop.VSQUERYREMOVEDIRECTORYRESULTS[]An array of summary VSQUERYREMOVEDIRECTORYRESULTS objects, which represent a summary of the yes/no values returned.
rgResults
Type: array<Microsoft.VisualStudio.Shell.Interop.VSQUERYREMOVEDIRECTORYRESULTS[]An array of VSQUERYREMOVEDIRECTORYRESULTS.
Return Value
Type: Int32
S_OK.
Implements
Remarks
This event is not used.
.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.