Share via


UpdateExtensions.DuplicateLaunchProfile Method

Definition

Duplicates an existing launch profile.

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

Parameters

projects
IAsyncUpdatable<IProjectSnapshot>

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

currentProfileName
String

The name of the profile to duplicate.

newProfileName
String

The name of the new profile, or null if a default name should be provided.

newProfileCommandName
String

The debugger command name to associate with the new profile, or null if the command should be copied from the existing profile.

Returns

Applies to