FlavoredProject.IVsTrackProjectDocumentsEvents2.OnQueryRemoveFiles Method
Raised to determine whether files 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 OnQueryRemoveFiles ( _
pProject As IVsProject, _
cFiles As Integer, _
rgpszMkDocuments As String(), _
rgFlags As VSQUERYREMOVEFILEFLAGS(), _
pSummaryResult As VSQUERYREMOVEFILERESULTS(), _
rgResults As VSQUERYREMOVEFILERESULTS() _
) As Integer Implements IVsTrackProjectDocumentsEvents2.OnQueryRemoveFiles
int IVsTrackProjectDocumentsEvents2.OnQueryRemoveFiles(
IVsProject pProject,
int cFiles,
string[] rgpszMkDocuments,
VSQUERYREMOVEFILEFLAGS[] rgFlags,
VSQUERYREMOVEFILERESULTS[] pSummaryResult,
VSQUERYREMOVEFILERESULTS[] rgResults
)
private:
virtual int OnQueryRemoveFiles(
IVsProject^ pProject,
int cFiles,
array<String^>^ rgpszMkDocuments,
array<VSQUERYREMOVEFILEFLAGS>^ rgFlags,
array<VSQUERYREMOVEFILERESULTS>^ pSummaryResult,
array<VSQUERYREMOVEFILERESULTS>^ rgResults
) sealed = IVsTrackProjectDocumentsEvents2::OnQueryRemoveFiles
private abstract OnQueryRemoveFiles :
pProject:IVsProject *
cFiles:int *
rgpszMkDocuments:string[] *
rgFlags:VSQUERYREMOVEFILEFLAGS[] *
pSummaryResult:VSQUERYREMOVEFILERESULTS[] *
rgResults:VSQUERYREMOVEFILERESULTS[] -> int
private override OnQueryRemoveFiles :
pProject:IVsProject *
cFiles:int *
rgpszMkDocuments:string[] *
rgFlags:VSQUERYREMOVEFILEFLAGS[] *
pSummaryResult:VSQUERYREMOVEFILERESULTS[] *
rgResults:VSQUERYREMOVEFILERESULTS[] -> int
JScript does not support explicit interface implementations.
Parameters
pProject
Type: Microsoft.VisualStudio.Shell.Interop.IVsProjectThe IVsProject affected.
cFiles
Type: Int32The number of files affected.
rgpszMkDocuments
Type: array<String[]An array of paths to the files.
rgFlags
Type: array<Microsoft.VisualStudio.Shell.Interop.VSQUERYREMOVEFILEFLAGS[]An array of VSQUERYREMOVEFILEFLAGS.
pSummaryResult
Type: array<Microsoft.VisualStudio.Shell.Interop.VSQUERYREMOVEFILERESULTS[]An array of summary VSQUERYREMOVEFILERESULTS objects, which represent a summary of the yes/no values returned.
rgResults
Type: array<Microsoft.VisualStudio.Shell.Interop.VSQUERYREMOVEFILERESULTS[]An array of VSQUERYREMOVEFILERESULTS.
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.