Compartilhar via


FlavoredProject.IVsTrackProjectDocumentsEvents2.OnQueryRemoveDirectories Method

Raised to determine whether directories 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 OnQueryRemoveDirectories ( _
    pProject As IVsProject, _
    cDirectories As Integer, _
    rgpszMkDocuments As String(), _
    rgFlags As VSQUERYREMOVEDIRECTORYFLAGS(), _
    pSummaryResult As VSQUERYREMOVEDIRECTORYRESULTS(), _
    rgResults As VSQUERYREMOVEDIRECTORYRESULTS() _
) As Integer Implements IVsTrackProjectDocumentsEvents2.OnQueryRemoveDirectories
int IVsTrackProjectDocumentsEvents2.OnQueryRemoveDirectories(
    IVsProject pProject,
    int cDirectories,
    string[] rgpszMkDocuments,
    VSQUERYREMOVEDIRECTORYFLAGS[] rgFlags,
    VSQUERYREMOVEDIRECTORYRESULTS[] pSummaryResult,
    VSQUERYREMOVEDIRECTORYRESULTS[] rgResults
)

Parameters

  • cDirectories
    Type: System.Int32
    The number of directories affected.
  • rgpszMkDocuments
    Type: array<System.String[]
    An array of paths of the directories.

Return Value

Type: System.Int32
S_OK .

Implements

IVsTrackProjectDocumentsEvents2.OnQueryRemoveDirectories(IVsProject, Int32, array<String[], array<VSQUERYREMOVEDIRECTORYFLAGS[], array<VSQUERYREMOVEDIRECTORYRESULTS[], array<VSQUERYREMOVEDIRECTORYRESULTS[])

Remarks

This event is not used.

.NET Framework Security

See Also

Reference

FlavoredProject Class

Microsoft.VisualStudio.Shell.Flavor Namespace