Compartir a través de


FlavoredProject.IVsTrackProjectDocumentsEvents2.OnAfterRemoveDirectories Method

Raised after a directory was removed from the project.

Namespace:  Microsoft.VisualStudio.Shell.Flavor
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Private Function OnAfterRemoveDirectories ( _
    cProjects As Integer, _
    cDirectories As Integer, _
    rgpProjects As IVsProject(), _
    rgFirstIndices As Integer(), _
    rgpszMkDocuments As String(), _
    rgFlags As VSREMOVEDIRECTORYFLAGS() _
) As Integer Implements IVsTrackProjectDocumentsEvents2.OnAfterRemoveDirectories
int IVsTrackProjectDocumentsEvents2.OnAfterRemoveDirectories(
    int cProjects,
    int cDirectories,
    IVsProject[] rgpProjects,
    int[] rgFirstIndices,
    string[] rgpszMkDocuments,
    VSREMOVEDIRECTORYFLAGS[] rgFlags
)
private:
virtual int OnAfterRemoveDirectories(
    int cProjects, 
    int cDirectories, 
    array<IVsProject^>^ rgpProjects, 
    array<int>^ rgFirstIndices, 
    array<String^>^ rgpszMkDocuments, 
    array<VSREMOVEDIRECTORYFLAGS>^ rgFlags
) sealed = IVsTrackProjectDocumentsEvents2::OnAfterRemoveDirectories
private abstract OnAfterRemoveDirectories : 
        cProjects:int * 
        cDirectories:int * 
        rgpProjects:IVsProject[] * 
        rgFirstIndices:int[] * 
        rgpszMkDocuments:string[] * 
        rgFlags:VSREMOVEDIRECTORYFLAGS[] -> int  
private override OnAfterRemoveDirectories : 
        cProjects:int * 
        cDirectories:int * 
        rgpProjects:IVsProject[] * 
        rgFirstIndices:int[] * 
        rgpszMkDocuments:string[] * 
        rgFlags:VSREMOVEDIRECTORYFLAGS[] -> int
JScript does not support explicit interface implementations.

Parameters

  • cProjects
    Type: Int32

    The number of projects in the rgpProjects array.

  • cDirectories
    Type: Int32

    The number of directories affected.

  • rgFirstIndices
    Type: array<Int32[]

    An array of indices of the directories that were affected.

  • rgpszMkDocuments
    Type: array<String[]

    An array of paths of the directories that were affected.

Return Value

Type: Int32
S_OK.

Implements

IVsTrackProjectDocumentsEvents2.OnAfterRemoveDirectories(Int32, Int32, array<IVsProject[], array<Int32[], array<String[], array<VSREMOVEDIRECTORYFLAGS[])

Remarks

Events are filtered so that they report only those related to this project. This is not required for flavoring, but it simplifies the work the derived classes have to do when subscribing to these events.

.NET Framework Security

See Also

Reference

FlavoredProject Class

Microsoft.VisualStudio.Shell.Flavor Namespace