다음을 통해 공유


UpdateExtensions.AddLaunchProfile Method

Definition

Adds a new launch profile.

public static Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot> AddLaunchProfile (this Microsoft.VisualStudio.ProjectSystem.Query.IAsyncUpdatable<Microsoft.VisualStudio.ProjectSystem.Query.IProjectSnapshot> projects, string? newProfileName, string commandName);
static member AddLaunchProfile : 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 AddLaunchProfile (projects As IAsyncUpdatable(Of IProjectSnapshot), newProfileName As String, commandName As String) As IAsyncUpdatable(Of IProjectSnapshot)

Parameters

projects
IAsyncUpdatable<IProjectSnapshot>

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

newProfileName
String

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

commandName
String

The debugger command name to associate with the new profile.

Returns

Applies to