Partager via


IVsTrackProjectDocuments4.OnAfterRemoveDirectoriesEx Method

Called by a project after directories 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 OnAfterRemoveDirectoriesEx ( _
    pProject As IVsProject, _
    cDirectories As Integer, _
    rgpszMkDocuments As String(), _
    rgFlags As UInteger() _
) As Integer
int OnAfterRemoveDirectoriesEx(
    IVsProject pProject,
    int cDirectories,
    string[] rgpszMkDocuments,
    uint[] rgFlags
)
int OnAfterRemoveDirectoriesEx(
    [InAttribute] IVsProject^ pProject, 
    [InAttribute] int cDirectories, 
    [InAttribute] array<String^>^ rgpszMkDocuments, 
    [InAttribute] array<unsigned int>^ rgFlags
)
abstract OnAfterRemoveDirectoriesEx : 
        pProject:IVsProject * 
        cDirectories:int * 
        rgpszMkDocuments:string[] * 
        rgFlags:uint32[] -> int
function OnAfterRemoveDirectoriesEx(
    pProject : IVsProject, 
    cDirectories : int, 
    rgpszMkDocuments : String[], 
    rgFlags : uint[]
) : int

Parameters

  • cDirectories
    Type: Int32

    [in] Number of directories that were removed.

  • rgpszMkDocuments
    Type: array<String[]

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

  • rgFlags
    Type: array<UInt32[]

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

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