VsShellUtilities.RenameDocument(IServiceProvider, String, String) Method

Definition

Renames the specified document.

C++
public:
 static void RenameDocument(IServiceProvider ^ site, System::String ^ oldName, System::String ^ newName);

Parameters

site
IServiceProvider

The service provider.

oldName
String

Full path to the old name of the document.

newName
String

Full path to the new name of the document.

Applies to

Proizvod Verzije
Visual Studio SDK 2015, 2017, 2019, 2022