Share via


WorkspaceServiceHelper.GetBuildService(IWorkspace) Method

Definition

Return the build service from a workspace

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::VisualStudio::Workspace::Build::IBuildService ^ GetBuildService(Microsoft::VisualStudio::Workspace::IWorkspace ^ workspace);
public static Microsoft.VisualStudio.Workspace.Build.IBuildService GetBuildService (this Microsoft.VisualStudio.Workspace.IWorkspace workspace);
public static Microsoft.VisualStudio.Workspace.Build.IBuildService? GetBuildService (this Microsoft.VisualStudio.Workspace.IWorkspace workspace);
static member GetBuildService : Microsoft.VisualStudio.Workspace.IWorkspace -> Microsoft.VisualStudio.Workspace.Build.IBuildService
<Extension()>
Public Function GetBuildService (workspace As IWorkspace) As IBuildService

Parameters

workspace
IWorkspace

workspace instance

Returns

Instance of an IBuildService or null if not found

Applies to