FlavoredProject::IVsTrackProjectDocumentsEvents2::OnQueryRenameFiles Method (IVsProject^, Int32, array<String^>^, array<String^>^, array<VSQUERYRENAMEFILEFLAGS>^, array<VSQUERYRENAMEFILERESULTS>^, array<VSQUERYRENAMEFILERESULTS>^)

 

Raised to determine whether files can be renamed in the project. Not used.

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

private:
virtual int OnQueryRenameFiles(
	IVsProject^ pProject,
	int cFiles,
	array<String^>^ rgszMkOldNames,
	array<String^>^ rgszMkNewNames,
	array<VSQUERYRENAMEFILEFLAGS>^ rgFlags,
	array<VSQUERYRENAMEFILERESULTS>^ pSummaryResult,
	array<VSQUERYRENAMEFILERESULTS>^ rgResults
) sealed = IVsTrackProjectDocumentsEvents2::OnQueryRenameFiles

Parameters

pProject
Type: Microsoft.VisualStudio.Shell.Interop::IVsProject^

The IVsProject affected.

cFiles
Type: System::Int32

The number of files affected.

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::VSQUERYRENAMEFILEFLAGS>^

An array of VSQUERYRENAMEFILEFLAGS.

pSummaryResult
Type: array<Microsoft.VisualStudio.Shell.Interop::VSQUERYRENAMEFILERESULTS>^

An array of summary VSQUERYRENAMEFILERESULTS objects, which represent a summary of the yes/no values returned.

rgResults
Type: array<Microsoft.VisualStudio.Shell.Interop::VSQUERYRENAMEFILERESULTS>^

An array of VSQUERYRENAMEFILERESULTS.

This event is not used.

Return to top
Show: