Share via


IProjectConfigurationService2.CustomizeLaunchSettingsAsync Method

Definition

Customize a launch settings to a project file

public:
 System::Threading::Tasks::Task<Tuple<System::String ^, Microsoft::VisualStudio::Workspace::IPropertySettings ^, System::String ^, Tuple<int, int> ^> ^> ^ CustomizeLaunchSettingsAsync(System::String ^ debuggerType, Microsoft::VisualStudio::Workspace::Settings::IWorkspaceSettings ^ selectedContent, Microsoft::VisualStudio::Workspace::ProjectTargetFileContext ^ projectFileContext, bool allowDuplicate, bool updateContent);
public System.Threading.Tasks.Task<Tuple<string,Microsoft.VisualStudio.Workspace.IPropertySettings,string,Tuple<int,int>>> CustomizeLaunchSettingsAsync (string debuggerType, Microsoft.VisualStudio.Workspace.Settings.IWorkspaceSettings selectedContent, Microsoft.VisualStudio.Workspace.ProjectTargetFileContext projectFileContext, bool allowDuplicate, bool updateContent);
public System.Threading.Tasks.Task<Tuple<string,Microsoft.VisualStudio.Workspace.IPropertySettings,string,Tuple<int,int>>> CustomizeLaunchSettingsAsync (string? debuggerType, Microsoft.VisualStudio.Workspace.Settings.IWorkspaceSettings? selectedContent, Microsoft.VisualStudio.Workspace.ProjectTargetFileContext projectFileContext, bool allowDuplicate, bool updateContent);
abstract member CustomizeLaunchSettingsAsync : string * Microsoft.VisualStudio.Workspace.Settings.IWorkspaceSettings * Microsoft.VisualStudio.Workspace.ProjectTargetFileContext * bool * bool -> System.Threading.Tasks.Task<string * Microsoft.VisualStudio.Workspace.IPropertySettings * string * int * int>
Public Function CustomizeLaunchSettingsAsync (debuggerType As String, selectedContent As IWorkspaceSettings, projectFileContext As ProjectTargetFileContext, allowDuplicate As Boolean, updateContent As Boolean) As Task(Of Tuple(Of String, IPropertySettings, String, Tuple(Of Integer, Integer)))

Parameters

debuggerType
String

debugger template id (can be null)

selectedContent
IWorkspaceSettings

initial content from template (can be null)

projectFileContext
ProjectTargetFileContext

The project file context

allowDuplicate
Boolean

If duplication is allowed for project names

updateContent
Boolean

if the launch.json content will be updated on disk

Returns

Context position where the launch configuration section is being placed

Applies to