CustomSettingsHelper.GetSettingsForTask(IWorkspaceSettings, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gives you a workspace setting source associated with a task name.
public static Microsoft.VisualStudio.Workspace.Settings.IWorkspaceSettingsSource? GetSettingsForTask (Microsoft.VisualStudio.Workspace.Settings.IWorkspaceSettings taskSettings, string taskName);
static member GetSettingsForTask : Microsoft.VisualStudio.Workspace.Settings.IWorkspaceSettings * string -> Microsoft.VisualStudio.Workspace.Settings.IWorkspaceSettingsSource
Public Shared Function GetSettingsForTask (taskSettings As IWorkspaceSettings, taskName As String) As IWorkspaceSettingsSource
Parameters
- taskSettings
- IWorkspaceSettings
The tasks.vs.json task setting.
- taskName
- String
The task that you want to retrieve the workspace setting for.
Returns
Workspace setting source associated with the taskName.