Freigeben über


IVsTrackProjectDocumentsEvents4.OnQueryRemoveFilesEx Method

Notifies the client when a project has requested to remove files.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)

Syntax

'Declaration
Sub OnQueryRemoveFilesEx ( _
    pProject As IVsProject, _
    cFiles As Integer, _
    rgpszMkDocuments As String(), _
    rgFlags As UInteger(), _
    <OutAttribute> pSummaryResult As VSQUERYREMOVEFILERESULTS(), _
    <OutAttribute> rgResults As VSQUERYREMOVEFILERESULTS() _
)
void OnQueryRemoveFilesEx(
    IVsProject pProject,
    int cFiles,
    string[] rgpszMkDocuments,
    uint[] rgFlags,
    VSQUERYREMOVEFILERESULTS[] pSummaryResult,
    VSQUERYREMOVEFILERESULTS[] rgResults
)
void OnQueryRemoveFilesEx(
    [InAttribute] IVsProject^ pProject, 
    [InAttribute] int cFiles, 
    [InAttribute] array<String^>^ rgpszMkDocuments, 
    [InAttribute] array<unsigned int>^ rgFlags, 
    [OutAttribute] array<VSQUERYREMOVEFILERESULTS>^ pSummaryResult, 
    [OutAttribute] array<VSQUERYREMOVEFILERESULTS>^ rgResults
)
abstract OnQueryRemoveFilesEx : 
        pProject:IVsProject * 
        cFiles:int * 
        rgpszMkDocuments:string[] * 
        rgFlags:uint32[] * 
        pSummaryResult:VSQUERYREMOVEFILERESULTS[] byref * 
        rgResults:VSQUERYREMOVEFILERESULTS[] byref -> unit
function OnQueryRemoveFilesEx(
    pProject : IVsProject, 
    cFiles : int, 
    rgpszMkDocuments : String[], 
    rgFlags : uint[], 
    pSummaryResult : VSQUERYREMOVEFILERESULTS[], 
    rgResults : VSQUERYREMOVEFILERESULTS[]
)

Parameters

  • cFiles
    Type: Int32

    [in] Number of files to remove.

  • rgpszMkDocuments
    Type: array<String[]

    [in, size_is(cFiles)] Array of paths for the files to be removed.

  • rgFlags
    Type: array<UInt32[]

    [in, size_is(cFiles)] Array of flags. For a list of rgFlags values, see __VSQUERYREMOVEFILEFLAGS2.

.NET Framework Security

See Also

Reference

IVsTrackProjectDocumentsEvents4 Interface

Microsoft.VisualStudio.Shell.Interop Namespace