IVsTrackProjectDocumentsEvents2::OnAfterRenameDirectories Method (Int32, Int32, array<IVsProject^>^, array<Int32>^, array<String^>^, array<String^>^, array<VSRENAMEDIRECTORYFLAGS>^)
Visual Studio 2015
This method notifies the client when directories have been renamed in the project.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int OnAfterRenameDirectories( int cProjects, int cDirs, array<IVsProject^>^ rgpProjects, array<int>^ rgFirstIndices, array<String^>^ rgszMkOldNames, array<String^>^ rgszMkNewNames, array<VSRENAMEDIRECTORYFLAGS>^ rgFlags )
Parameters
- cProjects
-
Type:
System::Int32
[in] Number of projects with renamed directories.
- cDirs
-
Type:
System::Int32
[in] Number of directories renamed.
- rgpProjects
-
Type:
array<Microsoft.VisualStudio.Shell.Interop::IVsProject^>^
[in] Array of projects from which directories were renamed.
- rgFirstIndices
-
Type:
array<System::Int32>^
[in] Array of first indices identifying which project each directory belongs to. For more information, see IVsTrackProjectDocumentsEvents2.
- rgszMkOldNames
-
Type:
array<System::String^>^
[in] Array of paths for the old names of the directories.
- rgszMkNewNames
-
Type:
array<System::String^>^
[in] Array of paths for the new names of the directories.
- rgFlags
-
Type:
array<Microsoft.VisualStudio.Shell.Interop::VSRENAMEDIRECTORYFLAGS>^
[in] Array of flags. For a list of rgFlags values, see VSRENAMEDIRECTORYFLAGS.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From IVsTrackProjectDocumentsEvents2.idl
HRESULT IVsTrackProjectDocumentsEvents2::OnAfterRenameDirectories( [in] int cProjects, [in] int cDirs, [in, size_is(cProjects)] IVsProject *rgpProjects[], [in, size_is(cProjects)] const int rgFirstIndices[], [in, size_is(cDirs)] const LPCOLESTR rgszMkOldNames[], [in, size_is(cDirs)] const LPCOLESTR rgszMkNewNames[], [in, size_is(cDirs)] const VSRENAMEDIRECTORYFLAGS rgflags[] );
Show: