Dela via


IVsTrackProjectDocuments4.OnAfterRemoveFilesEx Method

Called by a project after files have been removed from the project.

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

Syntax

'Declaration
Function OnAfterRemoveFilesEx ( _
    pProject As IVsProject, _
    cFiles As Integer, _
    rgpszMkDocuments As String(), _
    rgFlags As UInteger() _
) As Integer
int OnAfterRemoveFilesEx(
    IVsProject pProject,
    int cFiles,
    string[] rgpszMkDocuments,
    uint[] rgFlags
)
int OnAfterRemoveFilesEx(
    [InAttribute] IVsProject^ pProject, 
    [InAttribute] int cFiles, 
    [InAttribute] array<String^>^ rgpszMkDocuments, 
    [InAttribute] array<unsigned int>^ rgFlags
)
abstract OnAfterRemoveFilesEx : 
        pProject:IVsProject * 
        cFiles:int * 
        rgpszMkDocuments:string[] * 
        rgFlags:uint32[] -> int
function OnAfterRemoveFilesEx(
    pProject : IVsProject, 
    cFiles : int, 
    rgpszMkDocuments : String[], 
    rgFlags : uint[]
) : int

Parameters

  • cFiles
    Type: Int32

    [in] Number of files that were removed.

  • rgpszMkDocuments
    Type: array<String[]

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

  • rgFlags
    Type: array<UInt32[]

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

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

.NET Framework Security

See Also

Reference

IVsTrackProjectDocuments4 Interface

Microsoft.VisualStudio.Shell.Interop Namespace