UpdateExtensions.Rename Method

Definition

Renames a Project.

public static Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot> Rename (this Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot> project, string newName);
static member Rename : Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot> * string -> Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot>
<Extension()>
Public Function Rename (project As IAsyncUpdatable(Of IProjectSnapshot), newName As String) As IAsyncUpdatable(Of IProjectSnapshot)

Parameters

project
IAsyncUpdatable<IProjectSnapshot>

A project to be renamed.

newName
String

The new name of the project file.

Returns

An updated project.

Applies to