Partager via


WorkspaceServiceHelper.GetBuildService(IWorkspace) Méthode

Définition

Retourner le service de build à partir d’un espace de travail

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

Paramètres

workspace
IWorkspace

instance d’espace de travail

Retours

Instance d’un IBuildService ou null si introuvable

S’applique à