FlavoredProject.IVsTrackProjectDocumentsEvents2.OnQueryRenameDirectories Method
Raised to determine whether directories 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 OnQueryRenameDirectories ( _
pProject As IVsProject, _
cDirs As Integer, _
rgszMkOldNames As String(), _
rgszMkNewNames As String(), _
rgFlags As VSQUERYRENAMEDIRECTORYFLAGS(), _
pSummaryResult As VSQUERYRENAMEDIRECTORYRESULTS(), _
rgResults As VSQUERYRENAMEDIRECTORYRESULTS() _
) As Integer Implements IVsTrackProjectDocumentsEvents2.OnQueryRenameDirectories
int IVsTrackProjectDocumentsEvents2.OnQueryRenameDirectories(
IVsProject pProject,
int cDirs,
string[] rgszMkOldNames,
string[] rgszMkNewNames,
VSQUERYRENAMEDIRECTORYFLAGS[] rgFlags,
VSQUERYRENAMEDIRECTORYRESULTS[] pSummaryResult,
VSQUERYRENAMEDIRECTORYRESULTS[] rgResults
)
private:
virtual int OnQueryRenameDirectories(
IVsProject^ pProject,
int cDirs,
array<String^>^ rgszMkOldNames,
array<String^>^ rgszMkNewNames,
array<VSQUERYRENAMEDIRECTORYFLAGS>^ rgFlags,
array<VSQUERYRENAMEDIRECTORYRESULTS>^ pSummaryResult,
array<VSQUERYRENAMEDIRECTORYRESULTS>^ rgResults
) sealed = IVsTrackProjectDocumentsEvents2::OnQueryRenameDirectories
private abstract OnQueryRenameDirectories :
pProject:IVsProject *
cDirs:int *
rgszMkOldNames:string[] *
rgszMkNewNames:string[] *
rgFlags:VSQUERYRENAMEDIRECTORYFLAGS[] *
pSummaryResult:VSQUERYRENAMEDIRECTORYRESULTS[] *
rgResults:VSQUERYRENAMEDIRECTORYRESULTS[] -> int
private override OnQueryRenameDirectories :
pProject:IVsProject *
cDirs:int *
rgszMkOldNames:string[] *
rgszMkNewNames:string[] *
rgFlags:VSQUERYRENAMEDIRECTORYFLAGS[] *
pSummaryResult:VSQUERYRENAMEDIRECTORYRESULTS[] *
rgResults:VSQUERYRENAMEDIRECTORYRESULTS[] -> int
JScript does not support explicit interface implementations.
Parameters
pProject
Type: Microsoft.VisualStudio.Shell.Interop.IVsProjectThe IVsProject affected.
cDirs
Type: Int32The number of directories 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.VSQUERYRENAMEDIRECTORYFLAGS[]An array of VSQUERYRENAMEDIRECTORYFLAGS.
pSummaryResult
Type: array<Microsoft.VisualStudio.Shell.Interop.VSQUERYRENAMEDIRECTORYRESULTS[]An array of summary VSQUERYRENAMEDIRECTORYRESULTS objects, which represent a summary of the yes/no values returned.
rgResults
Type: array<Microsoft.VisualStudio.Shell.Interop.VSQUERYRENAMEDIRECTORYRESULTS[]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.