WorkspaceServiceHelper.GetBuildService2(IWorkspace) 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.
Get the IBuildService2 for a workspace.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::VisualStudio::Workspace::Build::IBuildService2 ^ GetBuildService2(Microsoft::VisualStudio::Workspace::IWorkspace ^ workspace);
public static Microsoft.VisualStudio.Workspace.Build.IBuildService2 GetBuildService2 (this Microsoft.VisualStudio.Workspace.IWorkspace workspace);
public static Microsoft.VisualStudio.Workspace.Build.IBuildService2? GetBuildService2 (this Microsoft.VisualStudio.Workspace.IWorkspace workspace);
static member GetBuildService2 : Microsoft.VisualStudio.Workspace.IWorkspace -> Microsoft.VisualStudio.Workspace.Build.IBuildService2
<Extension()>
Public Function GetBuildService2 (workspace As IWorkspace) As IBuildService2
Parameters
- workspace
- IWorkspace
workspace instance.
Returns
An instance of IBuildService2 or null.