Compartilhar 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.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaração
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

  • rgpszMkDocuments
    Type: array<System.String[]
    An array of paths to the files.

Return Value

Type: System.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