FlavoredProject::IVsTrackProjectDocumentsEvents2::OnAfterRenameFiles Method (Int32, Int32, array<IVsProject^>^, array<Int32>^, array<String^>^, array<String^>^, array<VSRENAMEFILEFLAGS>^)

 

Raised after files have been moved or renamed.

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

private:
virtual int OnAfterRenameFiles(
	int cProjects,
	int cFiles,
	array<IVsProject^>^ rgpProjects,
	array<int>^ rgFirstIndices,
	array<String^>^ rgszMkOldNames,
	array<String^>^ rgszMkNewNames,
	array<VSRENAMEFILEFLAGS>^ rgFlags
) sealed = IVsTrackProjectDocumentsEvents2::OnAfterRenameFiles

Parameters

cProjects
Type: System::Int32

The number of projects in the rgpProjects array. 

cFiles
Type: System::Int32

The number of files affected.

rgpProjects
Type: array<Microsoft.VisualStudio.Shell.Interop::IVsProject^>^

An array of IVsProject objects, corresponding to the projects in the solution.

rgFirstIndices
Type: array<System::Int32>^

An array of the indices of the files.

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.

rgFlags
Type: array<Microsoft.VisualStudio.Shell.Interop::VSRENAMEFILEFLAGS>^

An array of VSRENAMEFILEFLAGS. May be null.

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.

Return to top
Show: