Condividi tramite


UpdateExtensions.RenameLaunchProfile Method

Definition

Renames an existing launch profile.

public static Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot> RenameLaunchProfile (this Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot> projects, string currentProfileName, string newProfileName);
static member RenameLaunchProfile : Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot> * string * string -> Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot>
<Extension()>
Public Function RenameLaunchProfile (projects As IAsyncUpdatable(Of IProjectSnapshot), currentProfileName As String, newProfileName As String) As IAsyncUpdatable(Of IProjectSnapshot)

Parameters

projects
IAsyncUpdatable<IProjectSnapshot>

A set of projects to be updated with the renamed profile.

currentProfileName
String

The current name of the profile.

newProfileName
String

The new name of the profile.

Returns

Applies to