Partager via


WorkspaceServiceHelper.GetBuildService2(IWorkspace) Méthode

Définition

Retourner IBuildService2 à partir d’un espace de travail

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

Paramètres

workspace
IWorkspace

espace de travail instance

Retours

Instance d’un IBuildService2

S’applique à