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.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣言
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
)
Parameters
- pProject
Type: Microsoft.VisualStudio.Shell.Interop.IVsProject
The IVsProject affected.
- cFiles
Type: System.Int32
The number of files affected.
- rgpszMkDocuments
Type: array<System.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: System.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.