Share via


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

  • cFiles
    Type: Int32

    The number of files affected.

  • rgpszMkDocuments
    Type: array<String[]

    An array of paths to the files.

Return Value

Type: Int32
S_OK.

Implements

IVsTrackProjectDocumentsEvents2.OnQueryRemoveFiles(IVsProject, Int32, array<String[], array<VSQUERYREMOVEFILEFLAGS[], array<VSQUERYREMOVEFILERESULTS[], array<VSQUERYREMOVEFILERESULTS[])

Remarks

This event is not used.

.NET Framework Security

See Also

Reference

FlavoredProject Class

Microsoft.VisualStudio.Shell.Flavor Namespace