VsShellUtilities::RenameDocument Method (IServiceProvider^, String^, String^)
Visual Studio 2015
Renames the specified document.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
public: static void RenameDocument( IServiceProvider^ site, String^ oldName, String^ newName )
Parameters
- site
- Type: System::IServiceProvider^
- oldName
-
Type:
System::String^
The current absolute path of the document.
- newName
-
Type:
System::String^
The new absolute path of the document.
Show: