MSBuildSettings.GetSettings 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.
Overloads
GetSettings(IWorkspace) |
Return the MSBuild settings from a IWorkspace |
GetSettings(IWorkspace, String) |
Return the MSBuild settings from a IWorkspace |
GetSettings(IWorkspace)
Return the MSBuild settings from a IWorkspace
public:
static Microsoft::VisualStudio::Workspace::Extensions::MSBuild::MSBuildSettings GetSettings(Microsoft::VisualStudio::Workspace::IWorkspace ^ workspaceContext);
public static Microsoft.VisualStudio.Workspace.Extensions.MSBuild.MSBuildSettings GetSettings (Microsoft.VisualStudio.Workspace.IWorkspace workspaceContext);
static member GetSettings : Microsoft.VisualStudio.Workspace.IWorkspace -> Microsoft.VisualStudio.Workspace.Extensions.MSBuild.MSBuildSettings
Public Shared Function GetSettings (workspaceContext As IWorkspace) As MSBuildSettings
Parameters
- workspaceContext
- IWorkspace
The workspace context
Returns
MSBuild settings structure
Applies to
GetSettings(IWorkspace, String)
Return the MSBuild settings from a IWorkspace
public:
static Microsoft::VisualStudio::Workspace::Extensions::MSBuild::MSBuildSettings GetSettings(Microsoft::VisualStudio::Workspace::IWorkspace ^ workspaceContext, System::String ^ scopePath);
public static Microsoft.VisualStudio.Workspace.Extensions.MSBuild.MSBuildSettings GetSettings (Microsoft.VisualStudio.Workspace.IWorkspace workspaceContext, string scopePath);
public static Microsoft.VisualStudio.Workspace.Extensions.MSBuild.MSBuildSettings GetSettings (Microsoft.VisualStudio.Workspace.IWorkspace workspaceContext, string? scopePath);
static member GetSettings : Microsoft.VisualStudio.Workspace.IWorkspace * string -> Microsoft.VisualStudio.Workspace.Extensions.MSBuild.MSBuildSettings
Public Shared Function GetSettings (workspaceContext As IWorkspace, scopePath As String) As MSBuildSettings
Parameters
- workspaceContext
- IWorkspace
The workspace context
- scopePath
- String
Scope path for the settings
Returns
MSBuild settings structure