Compartilhar via


FlavoredProject.IVsTrackProjectDocumentsEvents2.OnQueryRenameFiles Method

Raised to determine whether files can be renamed in 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 OnQueryRenameFiles ( _
    pProject As IVsProject, _
    cFiles As Integer, _
    rgszMkOldNames As String(), _
    rgszMkNewNames As String(), _
    rgFlags As VSQUERYRENAMEFILEFLAGS(), _
    pSummaryResult As VSQUERYRENAMEFILERESULTS(), _
    rgResults As VSQUERYRENAMEFILERESULTS() _
) As Integer Implements IVsTrackProjectDocumentsEvents2.OnQueryRenameFiles
int IVsTrackProjectDocumentsEvents2.OnQueryRenameFiles(
    IVsProject pProject,
    int cFiles,
    string[] rgszMkOldNames,
    string[] rgszMkNewNames,
    VSQUERYRENAMEFILEFLAGS[] rgFlags,
    VSQUERYRENAMEFILERESULTS[] pSummaryResult,
    VSQUERYRENAMEFILERESULTS[] rgResults
)

Parameters

  • rgszMkOldNames
    Type: array<System.String[]
    An array of the old paths of the files.
  • rgszMkNewNames
    Type: array<System.String[]
    An array of the new paths of the files.

Return Value

Type: System.Int32
S_OK .

Implements

IVsTrackProjectDocumentsEvents2.OnQueryRenameFiles(IVsProject, Int32, array<String[], array<String[], array<VSQUERYRENAMEFILEFLAGS[], array<VSQUERYRENAMEFILERESULTS[], array<VSQUERYRENAMEFILERESULTS[])

Remarks

This event is not used.

.NET Framework Security

See Also

Reference

FlavoredProject Class

Microsoft.VisualStudio.Shell.Flavor Namespace