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.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
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
)
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
private abstract OnQueryRenameFiles :
pProject:IVsProject *
cFiles:int *
rgszMkOldNames:string[] *
rgszMkNewNames:string[] *
rgFlags:VSQUERYRENAMEFILEFLAGS[] *
pSummaryResult:VSQUERYRENAMEFILERESULTS[] *
rgResults:VSQUERYRENAMEFILERESULTS[] -> int
private override OnQueryRenameFiles :
pProject:IVsProject *
cFiles:int *
rgszMkOldNames:string[] *
rgszMkNewNames:string[] *
rgFlags:VSQUERYRENAMEFILEFLAGS[] *
pSummaryResult:VSQUERYRENAMEFILERESULTS[] *
rgResults:VSQUERYRENAMEFILERESULTS[] -> int
JScript does not support explicit interface implementations.
Parameters
pProject
Type: Microsoft.VisualStudio.Shell.Interop.IVsProjectThe IVsProject affected.
cFiles
Type: Int32The number of files affected.
rgszMkOldNames
Type: array<String[]An array of the old paths of the files.
rgszMkNewNames
Type: array<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.
Return Value
Type: Int32
S_OK.
Implements
Remarks
This event is not used.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.