IProjectConfigurationService2.CustomizeLaunchSettingsAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
自訂項目檔的啟動設定
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);
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)))
參數
- debuggerType
- String
調試程式範本標識碼 (可為 null)
- selectedContent
- IWorkspaceSettings
範本的初始內容
- projectFileContext
- ProjectTargetFileContext
項目檔內容
- allowDuplicate
- Boolean
如果專案名稱允許重複
- updateContent
- Boolean
如果磁碟上將會更新launch.json內容,則為
傳回
放置啟動組態區段的內容位置